Thursday, 6 June 2024

converting a pdf page to an image using GraphicsMagick

converting a pdf page to an image using GraphicsMagick

 dd the page number (starting from zero) in square brackets after the PDF filename:

gm.exe convert testing.pdf[1] testing.jpg

By the way, you can use the same indexing technique for accessing specific frames of a GIF animation, or layers of multi-layer/directory TIFFs.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.