Convert .pdf files to .jpg using PHP and Image Magick