Hi,
I've problem with imagepng() function. Everithing is OK when I try to create image 800x1150 but If I change size to 800x1960 it doesn't happen anything. Do you know if there is any restrictions?
Thanks!
imagepng()
Moderator: General Moderators
Re: imagepng()
As far as I know there is no limit. What's the rest of the code?
Do you use imagecreatetruecolor($width, $height); and then imagepng($img) ?
Do you use imagecreatetruecolor($width, $height); and then imagepng($img) ?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: imagepng()
Try increasing the memory limit in php, i.e.
Make sure you have display_errors set to true and your error reporting is atleast E_ALL (to reveal the true nature of the error).
Code: Select all
ini_set('memory_limit', '32mb');