Page 2 of 2

Re: help reading PDF

Posted: 2008-11-10T11:21:47-07:00
by fmw42
jimbobjones wrote:Hi - yes I found the delegates.xml file and made the changes you suggested as follows,
Line 80 becomes:-

Code: Select all

<delegate decode="ps:cmyk" stealth="True" command='"gs" -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dAlignToPixels=0 -dEPSCrop "-sDEVICE=bmp16" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-g%s" "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s"' />
Line 99 becomes:-

Code: Select all

<delegate decode="pcl-cmyk" stealth="True" command='"pcl6" -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dAlignToPixels=0 -dEPSCrop "-sDEVICE=bmp16" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-g%s" "-r%s" %s "-sOutputFile=%s" "%s"' />
This does work however - the result image looks like its got the wrong colour profile. All the saturation of the colours is way out; I think the source must have been CYMK and its displaying as though its an RGB profile.

Any ideas how I can fix that?

Thanks for all your kind help :)

Search the archives. There have been many questions of a similar nature. The answer is I think to set the colorspace in the convert command before reading the pdf. I don't recall for sure, but convert -colorspace RGB image.pdf (but find the posts to be sure).