Page 1 of 1

suppress warnings PDF to JPG

Posted: 2013-05-31T03:26:20-07:00
by gattu_koli
Hi,

I am getting below warning message while converting PDF to JPG even though passing -quiet argument. Is there any another approach to do this or can I pass -dQuite parameter to ghostscript from convert to suppress warnings.
IM ver - 6.8.5-8
GS ver - 9.05

**** Warning: stream operator not terminated by valid EOL.
**** Warning: stream operator not terminated by valid EOL.
**** Warning: stream operator not terminated by valid EOL.
**** Warning: stream operator not terminated by valid EOL.

**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> www.opoosoft.com <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.

regards.

Re: suppress warnings PDF to JPG

Posted: 2013-05-31T07:51:11-07:00
by snibgo
You might modify your delegates.xml to add "-dQuite" or "-q" or whatever to the Ghostscript command.

Re: suppress warnings PDF to JPG

Posted: 2013-06-01T00:45:33-07:00
by gattu_koli
The arguments are already added to the delegates.xml. Still I am getting warning messages.

<delegate decode="pdf" encode="ps" mode="bi" command=""@PSDelegate@" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 -sDEVICE=pswrite "-sOutputFile=%o" -- "%i""/>

Re: suppress warnings PDF to JPG

Posted: 2013-06-01T02:12:31-07:00
by snibgo
You can find out the exact command issued:

Code: Select all

convert -verbose in.pdf out.jpg
I don't know of any other options to suppress warnings from GS. You can redirect stderr, of course.