make lib/pdf2jpg.js for convert a pdf file to jpg files.

this file uses imagemagick.js.
please try:
 $ npm install imagemagick