Commit 7ca38c54 authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

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.
parent a1d59788
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment