There is a muck simpler way to split multipage pdfs into a jpg:

convert -quality 100 -density 600x600 multipage.pdf single%d.jpg


The -density option defines the quality the pdf is rendered...