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()?
php - Why am I able to rotate small photos, but not large photos using PHP's imagerotate() function?
问问题
500 次