python imagemagick pdf to image code example Example: pdf to images imagemagick convert -density 150 presentation.pdf -quality 90 output.jpg