Post Reply 

Strange behavior of color layer mode

Nov 11, 2011, 13:22
Post: #1
Strange behavior of color layer mode
Hi,

I notices by my opinion unexpected behavior of "color" mode if applied to upper layer in layers dialog.

I believed it should take hue and saturation from current(upper) layer and value (brightness) from below layer. As long as the two layers do not differ in brightness it seems to work properly. But the problem is when they differs...


I believe that the results should be same as if I make two copies of upper layer, one set to "hue" second to "saturation" mode...

Or another test: when I swith the two layers (reffering to first scenarion above), and set the above layer to "value" mode, ther results are OK.

So perhaps I dont understand what "color" mode is exactly doing...

My question should be like - does color mode work properly by our opinion?
Find all posts by this user
Quote this message in a reply
Nov 11, 2011, 13:59
Post: #2
RE: Strange behavior of color layer mode
Well I'm writing a plugin that generates "color mask" and now I found that the results (when using color mode on it) are very different to what I expected. In fact, this "better functionality" damages my effort...

I noticed that when origianal is bright, resulting colors are strongly desaturated...

Chances are that I would adjust my algorithm to be compatible with gimp's algorithm but it is extra work. And then I first need to find out gimp's algoritm...
Find all posts by this user
Quote this message in a reply
Nov 11, 2011, 21:01
Post: #3
RE: Strange behavior of color layer mode
Ofnuts,

I need it to be as simple as possible.

BTW, I already used gimp's in-build HSV <-> RGB conversions.
I converted RGB to HSV, set V to 0,5, and converted it back to RGB. Still when I set upper layer to color mode it doesnt work properly.

I would need exact formula what color mode is doing. May be I need to look into source.

For your information, I work on this:
http://code.google.com/p/selective-color...troduction
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  pick color and use renato07 1 343 Feb 22, 2018 15:24
Last Post: paynekj
  What is the best font and color combination to write on this? SonAmyFan362 2 155 Jan 23, 2018 16:17
Last Post: SonAmyFan362
  command button changes mode during command "C" Terry50 1 212 Dec 29, 2017 04:50
Last Post: ythgilb
  silver color pamopar 2 4,345 Nov 22, 2017 06:01
Last Post: georgemacin
  Color alpha function and its current errors Fuse809 0 410 Oct 11, 2014 03:53
Last Post: Fuse809

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS