[cairo] [Bug 32746] poppler/cario creates distorted pdf print file

Adrian Johnson ajohnson at redneon.com
Sat Jan 1 03:46:24 PST 2011


On 01/01/11 07:46, Bill Spitzak wrote:
> Or it could strip the color space information from imbedded jpeg data.

The Color Specification box in JPEG2000 is mandatory.

> Note that the user was happy with the screen appearance where cairo
> ignored the color space information. This is pretty typical, I have
> usually found it better to ignore this info than to do anything with it.

The color space is not ignored in the screen rendering. Poppler is using
the color space specified in the PDF stream dictionary when decoding the
JP2 image.

In this case the JP2 is a black and white image and the PDF color space
specified for the image is a DeviceN color space containing green and
black. On screen the image is green and black but when printed the image
is black and white.

Ignoring the color space is not an option as without it the printed
image does not look even remotely like the screen image.

> bugzilla-daemon at freedesktop.org wrote:
>> https://bugs.freedesktop.org/show_bug.cgi?id=32746


More information about the cairo mailing list