Jump to content

Recommended Posts

Scripts that resize compressed images (jpg, gif, png) must first make an uncompressed bitmap image of the file so that the actual image data can be operated on. This takes a large amount of memory.

 

If the script uses the GD php extension, it will be limited by the amount of memory available to php. If the script uses ImageMagick, a separate executable/command line utility, or any other utility program, it can resize images subject to the amount of memory made available to that utility program.

 

Have you determined how much you can increase php's memory limit and/or if a utility program like ImageMagick is available on your server?

Link to comment
https://forums.phpfreaks.com/topic/209006-resize-image/#findComment-1091693
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.