Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use the following command to convert a pdf from CMYK to RGB - I dont have access to the generation of these PDFs. The reason I'm doing it is so that the colours look correct on an iPod device.

ps2pdf -dPDFSETTINGS=/screen -dOptimize=true -dUseCIEColor some.pdf converted.pdf

When I run this there are some white lines that appear and the fonts on some parts of the page are messed up. These problems are not present on the source pdf files.

Thanks!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

This is the wrong command to achieve what you want. Try this one instead (using the full Ghostscript commandline instead of the ps2pdf wrapper around it):

gs \
 -o converted.pdf \
 -sDEVICE=pdfwrite \
 -sProcessColorModel=DeviceRGB \
 -sColorConversionStrategy=sRGB \
 -sColorConversionStrategyForImages=sRGB \
  some.pdf
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.