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:
Michael Natterer 2018-03-18 18:46:25 +01:00
parent a1d5978826
commit 7ca38c54f6
1 changed files with 4 additions and 2 deletions

View File

@ -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)
{