Been actively creating layouts since I noticed CEED's existance and enjoying the awesome editor so far but one thing that I don't understand is how colours are handled. Everywhere I read in documentation it seems to suggest that the first two characters are the alpha and the remaining 6 are RGB, but whenever I take a colour from Photoshop in form of HEX it always shows up as a different shade of the colour when seen in CEED. I'm clueless and probably really stupid but I can't seem to find a solution to it. I've been trying web safe colours and they tend to be closer to the actual colour but still not the same.
What am I missing? I don't actually load it into any game yet, only playing around in CEED so I don't have any CEGUI.log, I do however have the debug log from CEED included below, let me know if I missed something, I tried following the usage guidelines as closely as I could.
Debug from CEED: http://pastebin.com/MktMGPNz
[SOLVED] Colours show up differently in CEED than Photoshop
Moderators: CEGUI MVP, CEGUI Team
[SOLVED] Colours show up differently in CEED than Photoshop
Last edited by Henrik on Sat Feb 02, 2013 14:56, edited 1 time in total.
Re: Colours show up differently in CEED than Photoshop
Hi there!
Since I don't own a Photoshop license I will have to guess a little. According to screenshots found and a documentation reference [1] I think it outputs RRGGBB. Maybe sometimes it outputs RRGGBBAA but I can't verify this.
CEGUI takes AARRGGBB, in retrospect I think it was a bad call to use this format but it's easy to make decisions in retrospect, isn't it? To make "Photoshop colour format" work in CEED you simply move the AA component all the way forward (last 2 chars). Or if it isn't there (just 6 chars in total in the colour) you prepend FF (100% opacity).
Example:
Photoshop: FF0000 (red)
CEED: FFFF0000
Photoshop: 11223344
CEED: 44112233
And yes, it's annoying. I may add a feature to CEED to parse alternative colour schemes but it's impossible to autodetect. Might need interface changes.
[1] http://help.adobe.com/en_US/photoshop/c ... A612D9297a
HTH!
Since I don't own a Photoshop license I will have to guess a little. According to screenshots found and a documentation reference [1] I think it outputs RRGGBB. Maybe sometimes it outputs RRGGBBAA but I can't verify this.
CEGUI takes AARRGGBB, in retrospect I think it was a bad call to use this format but it's easy to make decisions in retrospect, isn't it? To make "Photoshop colour format" work in CEED you simply move the AA component all the way forward (last 2 chars). Or if it isn't there (just 6 chars in total in the colour) you prepend FF (100% opacity).
Example:
Photoshop: FF0000 (red)
CEED: FFFF0000
Photoshop: 11223344
CEED: 44112233
And yes, it's annoying. I may add a feature to CEED to parse alternative colour schemes but it's impossible to autodetect. Might need interface changes.
[1] http://help.adobe.com/en_US/photoshop/c ... A612D9297a
HTH!
Re: Colours show up differently in CEED than Photoshop
Kulik wrote:Hi there!
Since I don't own a Photoshop license I will have to guess a little. According to screenshots found and a documentation reference [1] I think it outputs RRGGBB. Maybe sometimes it outputs RRGGBBAA but I can't verify this.
CEGUI takes AARRGGBB, in retrospect I think it was a bad call to use this format but it's easy to make decisions in retrospect, isn't it? To make "Photoshop colour format" work in CEED you simply move the AA component all the way forward (last 2 chars). Or if it isn't there (just 6 chars in total in the colour) you prepend FF (100% opacity).
Example:
Photoshop: FF0000 (red)
CEED: FFFF0000
Photoshop: 11223344
CEED: 44112233
And yes, it's annoying. I may add a feature to CEED to parse alternative colour schemes but it's impossible to autodetect. Might need interface changes.
[1] http://help.adobe.com/en_US/photoshop/c ... A612D9297a
HTH!
Thanks!
Who is online
Users browsing this forum: Google [Bot] and 14 guests