I tried these on my Ubuntu machine but after some time they fail to convert the file, and all I have are black screen screenshots. The following commands, all the ones that mention “convert-pdf-to-png” show the same effect. Convert PDF to image with ImageMagick 5.0.8 with Postscript: convert-pdf-to-image --pgmpeguvfile image-file_name.PGM --pgmpeguvtype PGM --pgmpeguvprune 8 Convert PDFs to image with ImageMagick 5.0.8 with Postscript and the pgmpeguv extension; --pgmpeguvfile image.PGM --pgmpeguvtype PGM convert-pdf-to-png --pgmpeguvfile /PATH/TO/IMAGE/FILE.PDF --pgmpeguvtype PGM --pgmpeguvprune 8 Convert PDFs to image with Postscript and the pgmpeguv and extension; –pgmpeguvfile image.PGM --pgmpeguvtype PGM \ --pgmpeguvprune 8 convert-pdf-to-png --pgmpeguvfile /PATH/TO/IMAGE/FILE.PDF --pgmpeguvtype PGM --pgmpeguvprune 8 --grep PGM -i “pgm-pgm-prune=8,pgm-pgm-concatenate=8,pgm-pgm-convert-only=1,pgm-pgmsize=500,pgm-pgm-convert-only-size=0×0,pgm-pgmsize-auto=0” Convert PDF to image with Postscript with the pgmpeguv and extension, but with the maximum size set to 0×0; --pgmpeguvfile image.PGM --pgmpeguvtype PGM --pgmpeguvprune 8 --geometry 0×0 convert-PDF-to-png --pgmpeguvfile /PATH/TO/IMAGE/FILE.