Page 1 of 1

ColorSpace detection of pdf image

Posted: 2007-01-18T01:02:20-07:00
by baskote
Hi,

i extracted this topic out of another thread to not disturb the real discussion there i opened a new topic.

In the other thread you wrote

---------------------
ImageMagick cannot always detect the colorspace of a PDF image. You can always force a colorspace with the -colorspace option:

convert -colorspace CMYK pdf_cmyk_rgp.pdf image.png

However, with a patch we can detect CMYK EPS images. We put a patch in ImageMagick 6.3.2-0 Beta, available sometime tomorrow. Thanks for the problem report.
-------------------------

If you write "cannot always detect the colorspace of a PDF image", it sounds for me you know the limitations. Can you tell me the limitations you know about ?


Markus

Posted: 2007-01-18T09:03:44-07:00
by magick
ImageMagick scans the PDF but does not render its internal objects. If there is a reliable method to determine the PDF colorspace from just scanning the PDF itself we would like to hear about it.