"Here we will be using a tool called ImageMagick. This is a widely available tool with unparalleled versatility in a variety of areas, but is by no means the only one: there are plenty of other tools to do the same thing. The following is only one method of many.
"1) So first of all you will need to install ImageMagick. In Ubuntu you would do:
sudo apt-get install imagemagick
"2) Then open up a terminal, and browse to the location of the PDF you want to convert. Say, if your PDF was in /home/username/PDFs, you would do the following: