Reply to Re: Image dimension limit?

Re: Image dimension limit? new!
by colin, 17 years, 3 months ago
This is normal. In fact, you are running out of memory.

When you resize, crop, convert an image, the actual size in KB of the picture does not matter. Indeed, the picture is converted into a bitmap in memory, and then processed, and then saved, as a JPEG for instance.

As a bitmap, here's the number of pixels:
1000x1500=1500000
1238x2112=2614656 that one requires more memory

I think you need to multiply that amount by something like 8 (very rough approximation) just to estimate how much memory will be needed to process the picture, on top of the size that your application requires in memory.

Try to increase the memory limit of PHP to 48MB or more.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important