# Convert a PDF to a set of JPEGs of each page (useful for making CBZs)
# density is in DPI, quality is in percentage
convert -density 150 input.pdf -quality 90 page-%03d.jpg