Re: Introduction / Color layer modes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Ok, so I'm daring to repost my previuos mail again, which obviosly 
didn't make it...]

I wrote a patch that might help fix the situation.

First, I don't consider the current Color layer mode as broken. It is 
just different from what many users will expect.

What I do consider broken, though, is that currently using GEGL delivers 
completely different results from 'classic' mode.

The current Color mode uses HSL, the hue/saturation/value modes use HSV. 
GEGL uses LCH for all those modes.
That means if you open an XCF file, it is not clear how to render it, as 
you don't know if they were created with GEGL view or not.
(Which is why I would not consider
   http://bugzilla.gnome.org/show_bug.cgi?id=325564
  FIXED, rather it went from somewhat unexpected behaviour to broken)

The patch introduces four new layer layer modes for 
Color/Hue/Saturation/Lightness, all using LCH/Lab space.
(The result is slighly different from current GEGL though, I don't know 
why, yet.)

About how to store in XCF:
The obviuos choice seems to be to bump up the version to 3, which is 
what the patch currently does if one of the new modes is used.

That might not be good, though:
- Older versions will simply refuse to open the file.
- With e.g. 2.6.8, you can still open a file with the new modes, it's
   just that the display will be a mess until you've set valid layer
   modes.
   While this won't allow you to render the image correctly, you can
   still *access* it, which might be valuable.

I attached the patch to the abovementioned bugreport.

I'd be glad to hear what you think,

Cheers

Rupert
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux