[softwarelist] Re: CMYK problem
- From: Deri James <deri@xxxxxxxxxxxxxxxxxxxxxx>
- To: davidpilling@xxxxxxxxxxxxx
- Date: Thu, 9 Jul 2009 01:06:05 +0100
On Wednesday 08 July 2009 22:44:33 David Pilling wrote:
> Is it possible to examine the PDFs to see what colour
> space they are?
To check the colour space of an image:-
First uncompress the PDF (on linux I use 'pdftk' to uncompress, but as you use
acrobat software you probably already have the tools to do the decompression).
You can then examine the PDF using a text editor. (Note: the file may still
contain binary data, between 'stream'/'endstream' pairs, but you can ignore
this - it will be the individual pixel values of your bit-mapped image).
Locate an object with "/Type /XObject" and "/SubType /Image".
Within that object look for a tag "/ColorSpace" which is likely to have values
of "/DeviceGray, /DeviceRGB, or /DeviceCMYK".
You may find other tags for "/ColorSpace" elsewhere in the PDF (like the
Resource Dictionary) but usually each embedded /XObject /Image specifies the
colour space to use explicitly.
Cheers
Deri
To unsubscribe or subscribe goto: http://www.freelists.org/list/davidpilling
Other related posts: