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.
suppress warnings PDF to JPG
-
- Posts: 10
- Joined: 2013-01-24T21:44:53-07:00
- Authentication code: 6789
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: suppress warnings PDF to JPG
You might modify your delegates.xml to add "-dQuite" or "-q" or whatever to the Ghostscript command.
snibgo's IM pages: im.snibgo.com
-
- Posts: 10
- Joined: 2013-01-24T21:44:53-07:00
- Authentication code: 6789
Re: suppress warnings PDF to JPG
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""/>
<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""/>
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: suppress warnings PDF to JPG
You can find out the exact command issued:
I don't know of any other options to suppress warnings from GS. You can redirect stderr, of course.
Code: Select all
convert -verbose in.pdf out.jpg
snibgo's IM pages: im.snibgo.com