mirror of https://github.com/GNOME/gimp.git
Bug 794366 - Crash when using Hue-Chroma on a ProPhotoRGB image
Handle "CIE LCH(ab)" in gimp_color_profile_get_lcms_format() as suggested by Massimo.
This commit is contained in:
parent
a1d5978826
commit
7ca38c54f6
|
@ -1581,8 +1581,10 @@ gimp_color_profile_get_lcms_format (const Babl *format,
|
|||
{
|
||||
cmyk = TRUE;
|
||||
}
|
||||
else if (model == babl_model ("CIE Lab") ||
|
||||
model == babl_model ("CIE Lab alpha"))
|
||||
else if (model == babl_model ("CIE Lab") ||
|
||||
model == babl_model ("CIE Lab alpha") ||
|
||||
model == babl_model ("CIE LCH(ab)") ||
|
||||
model == babl_model ("CIE LCH(ab) alpha"))
|
||||
{
|
||||
if (has_alpha)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue