I have stored a PDF, and I want to convert it to JPG and increasing the size of the photo with imagemagick. It works ok, but It return me a photo with bad resolution http://goo.gl/Gj7bE
$save_toB = $uploaddir . "/" . $pdfNameB;
$imga2 = new imagick($pdfB . '[0]');
$imga2->scaleImage(2500, 2400);
$imga2->setImageFormat('jpg');
$imga2->writeImages($save_toB, true);