I almost always have a PHP resize script (using GD) in websites for my clients. No matter how many times I tell them to resize their huge 7MP images from their digital camera before uploading them, they still never do it. The result is an "Out Of Memory" error from the server, and the image doesn't get resized, because the original image was too large resolution-wise.
Is there a better way to resize really large images? Is there a service that offers an API that I could tap into through my script to resize these large images?
You can call Imagemagick to resize the picture from your php page, but there's a security matter then if you allow system calls
Any API will use a lot of Memory, you can change your php memory_limit aswell.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With