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?
Reading a CMYK JPEG image
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Reading a CMYK JPEG image
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
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