Pdf pdf, oh the pdf. Every now and again I have to deal with a pdf file and do something with it. Today was converting it to an image. Now usually I just fire up preview on the mac and export as an image. Today let’s find another way a way that is on windows. After a quick google search stack overflow was to the rescue and pointed towards imagemagick

Get it all installed

Now that it is installed we can run the command convert -density 300 -trim 1.pdf -quality 100 test.jpg

Success!