Linux Command Line - Convert a PDF File To an Image $ convert foo.pdf foo.png $ convert foo.pdf foo.jpg This uses ImageMagick so make sure you have it installed.