Re: Large image how to calculate memory needs

See all posts Reply

Re: Large image how to calculate memory needs new!
by Fandoms, 10 years, 11 months ago
Hi!

I'm having problems with large images in a host and I wold like to check first width and height so I can calculate the memory limit.

in FAQ there is this info.
what matters is the number of pixels. Roughly, you need to multiply the number of pixels by 8 to have an estimate of the memory required for the image.

I have an image that is 2473x2864, number of pixeles would be 7082672?
Multiply by 8 is 56661376 Around 54 megas? Is this correct? That would be the memory I will need?

Thanks!Reply
Re: Large image how to calculate memory needs new!
by colin, 10 years, 11 months ago
Yes, I think that's about it. But you need to reserve more memory for the rest of your PHP application too.Reply
Re: Large image how to calculate memory needs new!
by Fandoms, 10 years, 11 months ago
Thanks a lot!Reply