Convert single page from Postscript

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
budha

Convert single page from Postscript

Post by budha »

Hy !


Perhaps a simple thing ...

When I try to convert a single page from a postscriptfile, I always get only the first page. (No matter which pagenumber I ommit.)

Code: Select all

Example:

convert test.ps[3] test.tif
In this example I try to convert/extract page 3 (which is 4) from the postscript file "test.ps" to "test.tif".

What am I doing wrong? Or is it possible anyhow? Or is there a other way to convert single pages instead of [x] after the filename?


PS.: Converting the whole postscript file is no problem.


Thanks in advance.

Alex
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Convert single page from Postscript

Post by anthony »

QUOTE the page number and square brackets. They are shell meta characters and the shell is removing them!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
budha

Re: Convert single page from Postscript

Post by budha »

Thanks !

Sorry, but doesnt work. I call gs now directly.
Post Reply