For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > September 2006 > Re: 100KB image that takes up 2mb of memory uses up all 8mb of memory - help!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: 100KB image that takes up 2mb of memory uses up all 8mb of memory - help!
comp.lang.php

2006-09-26, 6:57 pm


Simon Stewart wrote:
> Andy
>
> What size is the image you are loading in megaPIXELS?
> This is often the limiting factor in PHP GD processing, not the original
> size in Kb or the final size in Kb.
> When I ran into this I found that PHP stopped abruptly with an error
> message.
>


The GIF image is Size: 332 x 287 px = 95284 sq px which is less than
0.1 sq mpx

in other words, a tiny image

Phil
[color=darkred]
> -- Simon
>
>
> "comp.lang.php" <phillip.s.powell@gmail.com> wrote in message
> news:1159234304.867023.36210@e3g2000cwe.googlegroups.com...

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com