Converting pdfs into jpgs

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mro7805

Converting pdfs into jpgs

Post by mro7805 »

I'm new to using IM and I am using it for a project i am working on.. and every i try to convert my pdf into a jpg it rotates it... does anyone know why that is happening? I dont want the files to rotate.. i want them to just convert as they are into a jpg.

"convert -quiet -quality 100 -density 96 -resize 950x ".$_FILES['image']['tmp_name']." /tmp/".$tmp_file.".jpg";

it rotates the image.. i dont know if it has something to do with it being landscape or what? but if i put

"convert -rotate '90<' -quiet -quality 100 -density 96 -resize 950x ".$_FILES['image']['tmp_name']." /tmp/".$tmp_file.".jpg";
its doesnt rotate it but when you upload non-landscape items it rotates it..

thanks,

moe
Post Reply