voyent
Convert PDF to grayscale  XML
Forum Index -> ICEpdf General
Author Message
johnwwweissberg

Joined: 29/Dec/2015 09:22:15
Messages: 2
Offline


We would like to use icePDF to convert a color PDF into a grayscale PDF.

We want the text to remain as vector text so we cannot use a solution where each page is rendered to a grayscale image.

Ghostscript offers a method for converting to grayscale (shown below) which sets the color model to grayscale.

I would like to know if icePDF can perform the same function.


[code]
gs -sOutputFile=gray.pdf \
-sDEVICE=pdfwrite \
-sColorConversionStrategy=Gray \
-dProcessColorModel=/DeviceGray \
-dNOPAUSE -dBATCH \
-dAutoRotatePages=/None \
color.pdf
 
Forum Index -> ICEpdf General
Go to:   
Powered by JForum 2.1.7ice © JForum Team