Re: Minimal color management strategy for GIMP 2.8

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

 



On 01/24/2010 07:26 AM, Omari Stephens wrote:
> On 01/23/2010 08:04 AM, Martin Nordholts wrote:
>> Hi
>>
>> Right now we don't have a clearly defined color management strategy for
>> GIMP.
>>
>> I would like us to settle a minimal color management strategy for GIMP
>> so that we can fix some inconsistencies in our color management, in
>> particular for PNG [1], for 2.8. In short the problem with PNG is that
>> the current code always writes an sRGB chunk to a PNG file if no color
>> profile is attached to the image and no gamma is specified.
>>
>> I suggest that we formally settle with this minimal color management
>> strategy:
>>
>>
>> """
>> An image either has or has not a color profile attached. A color
>> profile is attached as a GimpParasite named "icc-profile".
>>
>> For images that have a color profile attached, this color profile is
>> used when displaying the image and is embedded when the image is saved
>> or exported.
>>
>> For images that does not have a color profile attached, the global
>> color profile defined under Color Management in Preferences is used to
>> display the image, but no profile is embedded into saved or exported
>> files.
>> """
>>
>>
>> So, does the above sound like a sound foundation for color management in
>> GIMP? I don't expect us to have time to apply this strategy consistently
>> all over GIMP for 2.8 but at least we have settled on something that we
>> can put in devel-docs and continue to build on later, and it allows us
>> to fix the PNG problem for 2.8.
>
> Sounds eminently reasonable; I had run into this issue also.

FWIW, http://hsivonen.iki.fi/png-gamma/ seems like a pretty good article 
on this topic; curious folks should give it a read.  It also suggests 
that the current GIMP behavior is Bad.

> I had naively signed up for the "work on color management" job.  That
> said, do you happen to know where the sRGB thingie is added by default?
>    (if not, I can probably find it, but if you know offhand, I'm not
> beyond laziness ;o)
It was actually trivial to find.  Right now, I'm just considering the 
consequences before I nuke that 4 lines of code.

> I had also been taking a peek at [2] and [3], which also seem to fall
> under the umbrella of this desired behavior.  Finally, [4] is something
> that bites me a lot, but needs some UI/UX work.  guiguru?
These will probably be more than 4 lines of code ;o)

>
> [2] https://bugzilla.gnome.org/show_bug.cgi?id=556608 "Monitor color
> profile is not applied to filter preview"
> [3] https://bugzilla.gnome.org/show_bug.cgi?id=478528 "Layer previews
> are not color managed"
> [4] https://bugzilla.gnome.org/show_bug.cgi?id=320447 "fast switching
> between 'color managed display' and 'softproof'"

--xsdg
_______________________________________________
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