Page 1 of 1

Reading a CMYK JPEG image

Posted: 2011-01-20T07:18:49-07:00
by FlashFan
Hi guys

My program extracts images out of pdf files. There are many JPEG-images in pdf's that have cmyk colorspaces.
How can I read the image that the colors are correct?

Re: Reading a CMYK JPEG image

Posted: 2011-01-20T11:55:51-07:00
by fmw42
convert -colorspace RGB -density XX image.pdf image.tiff

use the -density to set image quality/size for the output image

or you need to use profiles http://www.imagemagick.org/Usage/formats/#profiles