Hello,

GS Version: GPL 8.63

I am attempting to convert a pdf document that contains a gradient
from CMYK to RGB using -dUseCIEColor option with the /
ColorConversionStrategy set to /sRGB.  As a result, the file size
increaes dramatically  One of our test files increased from 104K to
34MB.  The file renders correctly in a Acrobat Reader and GSView,
however, it takes an excessive amount of time.

The output pdf files are intended for online use, therefore, the
larger output is unacceptable.

Here is the command I am using to render the PDF:
gswin32c.exe -dSAFER -dNOPAUSE -dNOPAGEPROMPT -dSHORTERRORS -dBATCH -
sDEVICE#pdfwrite -dPDFX#true -sOutputFile#output.pdf -f
000002.joboptions input.pdf

The contents of 000002.joboptions are:
----Start File----
<<
        /ColorConversionStrategy /sRGB
>> setdistillerparams
<<
  /HWResolution [1200 1200]
  /PageSize [612.000 792.000]
>> setpagedevice
----End File----

With the -dUseCIEColor set, GS transforms the gradient into a
colorimage:

colorimage
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!
...

I retrieved the ps output using this command.
gswin32c.exe -dSAFER -dNOPAUSE -dNOPAGEPROMPT -dSHORTERRORS -dBATCH -
sDEVICE#pswrite -sOutputFile#output-ps.ps  input-gradient.pdf

If -dUseCIEColor is not specified, the pdf converts correctly; the
file size is acceptable, render speed in the viewer is good, and all
images are converted to RGB.  However, the color translation is poor
and the output in regards to color is unacceptable.

Please let me know if anyone knows a way to resolve or workaround this
issue.

Thanks,
   Ralph

Reply via email to