someone help me with GhostScript -
script1.--------gs -dnopause -sdevice=jpeg -dfirstpage="1" -dlastpage="1" -soutputfile=outputfilepath.gif -djpegq=100 -r300 -q inputfilepath.pdf -c quit
script2.--------gs -duseciecolor -dnopause -sdevice=jpeg -dfirstpage="1" -dlastpage="1" -soutputfile=outputfile.gif -djpegq=100 -r300 -q inputfile.ps -c quit;
we using ghostscript creating images pdf , ps files.
in case of pdf ghostscript creates image of particular page in case of miltipage pdf in in script 1.
where when create image ps file page wise image not created , create pages images.
someone please whether missing something, whether possible ghostscript or not.
this duplicate of previous question, answer same. in versions prior 9.18 -dfirstpage , -dlastpage parameters only apply pdf input.
you either need write custom endpage procedure (see 3rd edition postscript language reference manual) or use version 9.18 (or later) of ghostscript.
Comments
Post a Comment