Open GoogleCodeExporter opened 9 years ago
Antonin,
>Indeed, in color.c, when a ICC profile is present and out_space
>is cmsSigGrayData, it ends up with a sRGB colorspace although
>it should be a grayscale colorspace.
That does not work with LCMS:
in_type = TYPE_GRAY_8;
out_type = TYPE_GRAY_8;
cmsCreateTransform() returns NULL
But:
in_type = TYPE_GRAY_8;
out_type = TYPE_RGB_8;
does work.
I work on a patch of this.
winfried
Original comment by szukw...@arcor.de
on 3 Apr 2014 at 4:07
This patch is a little bit lengthy. It additionally contains
the answer to Issue 326: the CIELab image.
cmsSigGrayData is now handled for a precision <= 8 and a
precision > 8.
The resp. LCMS types are
TYPE_GRAY_8 to TYPE_RGB_8
and
TYPE_GRAY_16 to TYPE_RGB_16
Unhandled is the ICC Color space cmsSigYCbCrData. Shall it
be refused?
winfried
Original comment by szukw...@arcor.de
on 3 Apr 2014 at 8:42
Attachments:
Original issue reported on code.google.com by
anto...@gmail.com
on 1 Apr 2014 at 7:40