Image dimension limit?

See all posts See thread Reply

Re: Image dimension limit? new!
by colin, 17 years, 8 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
Re: Image dimension limit? new!
by colin, 12 years, 11 months ago