Page 1 of 1

6.8.3-8: Invalid gsx command line

Posted: 2013-03-09T15:41:47-07:00
by rwruck
The combination of -dFirstPage..-dLastPage and -dEPSCrop leads to an invalid command line:

"/opt/local/bin/gsx" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r305x305" -g2402x1572 -dFirstPage=1 -dLastPage=1-dEPSCrop "-sOutputFile=/var/tmp/magick-46697v1927GFGwnfC" "-f/var/tmp/magick-46697kYzrjTyYZGTY" "-f/var/tmp/magick-46697cQaiU7x8dmiH"
-dvar=name requires name=null, true, or false

This is because there's a space missing after "-dLastPage=%.20g" in coders/ps.c, line 772. Before 6.8.0-5, this was not a big problem because there was no additional option after -dLastPage... but according to the change log, adding -dEPSCrop now is the default.

Re: 6.8.3-8: Invalid gsx command line

Posted: 2013-03-09T15:52:05-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.3-9 Beta available by sometime tomorrow. Thanks.