image_auto_rotate is very slow

See all posts Reply

image_auto_rotate is very slow new!
by Dominik, 1 month, 2 weeks ago
Hi,

first thanks for this genius piece of software.
Just one thing:
The image_auto_rotate function is very slow on large pictures and takes endless.

I looked in the code and saw that you are using a nested for loop with the imagecopy() function. So that should be the reason why this thing lasts forever.

Could you change that please, maybe you could use the imagerotate() function?

Thank you!!Reply
Re: image_auto_rotate is very slow new!
by colin, 1 month, 2 weeks ago
I will see what's possible. I don't have much time right now, but I will gladly accept a patch if you have one.Reply
Re: image_auto_rotate is very slow new!
by Dominik, 1 month, 2 weeks ago
Thanks for your quick answer.

Maybe something like here: https://github.com/verot/class.upload.php/issues/8#issuecomment-128879652Reply
Re: image_auto_rotate is very slow new!
by Dominik, 1 month, 2 weeks ago
Also here:
https://www.php.net/manual/de/function.imagerotate.php#121741Reply