Open gcode-importer opened 10 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
Reported by szukw000 on 2014-04-03 16:07:55
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
Reported by szukw000 on 2014-04-03 20:42:48
Originally reported on Google Code with ID 324
Reported by detonin on 2014-04-01 19:40:56