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
  Increasing Color Bit Depth on Legacy files -- Does it have any immediate effect? EndWggn 2 132 Oct 29, 2018 17:41
Last Post: EndWggn
  jpg thumbnail displays landscape mode makitso 1 235 Aug 10, 2018 05:35
Last Post: paynekj
  Transparent Layer Changing To Black instead of White after Export JustAmanda123 2 3,465 Jul 28, 2018 17:06
Last Post: abajan
  pick color and use renato07 1 498 Feb 22, 2018 15:24
Last Post: paynekj
  What is the best font and color combination to write on this? SonAmyFan362 2 299 Jan 23, 2018 16:17
Last Post: SonAmyFan362

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS