jason213123 Posted July 27, 2010 Share Posted July 27, 2010 hi, i looking for a way to resize a picture of any any to a custum size. in this moment i have pictures bigger than 3200px and i looking for a script that can handle that, the last script that i have tested simple "explode" with pictures bigger than 1800px thanks a lot for your help Quote Link to comment https://forums.phpfreaks.com/topic/209006-resize-image/ Share on other sites More sharing options...
PFMaBiSmAd Posted July 27, 2010 Share Posted July 27, 2010 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? Quote Link to comment https://forums.phpfreaks.com/topic/209006-resize-image/#findComment-1091693 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.