Leif -- ...and then Leif K-Brooks said... % % I'm writing a photo album in PHP. The idea is to convert user-uploaded % images to PNGs with unique IDs (1.png, 5.png, etc.), and cache them at
OK. % certain sizes as needed. Now I'm running into an out-of-memory Right. % converting user images to PNGs, and I'm not sure what to do: copy them What are you using to convert, how are you converting, and do you know why you're running out of memory? % in whatever format the user used and convert to JPEGs for output? Use % some other format for storage? Well, I only use JPGs for my caching, but I accept GIFs and PNGs (though nobody has taken me up on it yet, I think), so all I can say is that that works. I don't see why PNGs wouldn't, though, except that in my quick tests they seem a heck of a lot bigger than JPGs... % % -- % The above message is encrypted with double rot13 encoding. Any *teva* V ybir guvf :-) :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
pgp00000.pgp
Description: PGP signature