[solved]ImageCreateFromJpeg

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dreamline
Forum Contributor
Posts: 158
Joined: Fri May 28, 2004 2:37 am

[solved]ImageCreateFromJpeg

Post by dreamline »

Hi guyz,
I'm having a problem with this function from the GD library. If a pciture is 1448x1235 then i get an error like this: Fatal Error: Allowed memory size 8388608 bytes exhausted etc. etc.

Are there any known problems with huge pictures and resizing them with imagecreatefromjpg???

Thanks for your help guyz....
Last edited by dreamline on Sun Aug 07, 2005 5:13 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you need to bump your memory limit up to work with it :: viewtopic.php?t=30239&highlight=20m

please search for the keywords in your error next time.
dreamline
Forum Contributor
Posts: 158
Joined: Fri May 28, 2004 2:37 am

Post by dreamline »

Sorry about that Feyd... But thanks for the url to the thread.. :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

FYI 1448x1235 = 7,153,120 bytes decompressed, minimum.
Post Reply