Image rotates 90 degress to the left (don't want to)

See all posts Reply

Image rotates 90 degress to the left (don't want to) new!
by Jesus, 12 years, 6 months ago
Hi,

Im testing this class with big image sizes. I have a image, 3.000 x 2.000 (4.8 mb file). When i Upload the image, it resizes ok, saves ok, but it's saved rotated to the left. If i upload the same image (same dimensions) but with less quality (300 kb) it works ok.

Here's my code

$img->file_new_name_body = $padre;
$img->image_resize = true;
$img->image_resize_no_zoom_in = true;
$img->image_ratio = true;
$img->image_x = 2000;
$img->image_y = 1000;
$img->image_flip = null;
$img->image_rotate = null;
$img->process($dir);
if (!$img->processed)
echo $img->error;Reply
Re: Image rotates 90 degress to the left (don't want to) new!
by colin, 12 years, 6 months ago
Check the log produced by the classReply
Re: Image rotates 90 degress to the left (don't want to) new!
by Jesus, 12 years, 6 months ago
forget it, it's working right.

Problem was that in mac, when i see the image preview, it's autorotated... i haven't see the original image.
Sometimes, the easier problems are the hardest to find.

Thanks for your quick replyReply