0

I have written a PHP script that allows me to rotate an image, by using PHP's imagerotate() function. It works great with most of the photos I have tested. However, the script crashes when trying to rotate larger photos ( > 644 KB, 2112px x 2816px). This isn't a very large photo, but my script only crashes when the photo is around this size or larger. Is there a file size limit when using imagerotate()?

4

1 回答 1

-1

您可以尝试使用 GD 的包装器(例如PHP Image Magician)来简化流程。

于 2012-07-25T01:01:44.680 回答