ICC weirdness in PDF
Posted: 2014-03-03T09:06:48-07:00
I'm not sure what is going on here. The warning comes from libpng16. Somehow
libpng is involved in reading or writing PDF files, and it's inserting an ICC profile
that libpng16 does not like.
Also, the PDF is grayscale when the input is RGB:
libpng is involved in reading or writing PDF files, and it's inserting an ICC profile
that libpng16 does not like.
Code: Select all
$ q16convert xc:green green.pdf
$ q16convert green.pdf null:-
q16convert: iCCP: profile 'default_rgb.icc': 0h: PCS illuminant is not D50 `/tmp/magick-19896dpRrXxuz36Gd1' @ warning/png.c/MagickPNGWarningHandler/1830.
$ q16convert -version
Version: ImageMagick 6.8.8-7 Q16 x86_64 2014-02-26 http://www.imagemagick.org
Code: Select all
$ q16identify green.pdf
green.pdf PDF 1x1 1x1+0+0 16-bit Bilevel Gray 61B 0.000u 0:00.000