Multi-page PDF to multiple images

Prefix that with gm if you’re running GraphicsMagick rather than ImageMagick.

The %d part means that a number should be placed there to indicate the page number from the original that the image file contains. So a three-page PDF will produce

You can get a better default sort order on the files by telling *magick to zero-prefix the number with a slight change to the format string. So changing %d to %03d will starting numbering at 000.

You should be able to generate any image file type that *magick supports by just specifying the destination extension (jpg, png, gif, etc.).

Multi-page PDF to multiple images is original content from Devolve.

Author: Charlie Herron

Denizen of Portland, Maine; tech jack; lover / hater / whatever; philosophical dabbler.