Jump to content

resize image


jason213123

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.