issue with image_auto_rotate

See all posts See thread Reply

Re: issue with image_auto_rotate new!
by jon, 6 years, 9 months ago
Hello again Colin

Just a quick follow up.
Indeed, i have managed to change the order of auto-flip image & auto-rotate image
to after the resize (only needed to change image_src_? to image_dst_? and place the code after "if ($this->image_resize) {...}").
This works MUCH faster and with multiple images (before 1 image was taking > 20 seconds, now 3 are taking < 10).

Will this have broken anything else (like crop, etc. although these seem to use image_dst too)?

Thanks Again
JonReply
Re: issue with image_auto_rotate new!
by colin, 6 years, 9 months ago
It is a good idea, and it works in your case.

But the auto-flip and auto-rotate must happen before any image processing occurs. Besides, resizing dimensions may be based on the source image dimensions, but the source image has to be rotated first.Reply