Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Ólafur Waage
I recently made two commercial sites that used both GD and Imagick and i can share some wisdom i got from those projects. (both projects were "card" generators where users made their custom cards and but one had a fixed picture and users could add text and the other one allowed users to add their

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Dan
"Casey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Jan 4, 2008, at 9:54 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: On Jan 4, 2008 12:46 PM, Casey <[EMAIL PROTECTED]> wrote: Greetings, list. I have a web application that generates PNG images that are thousands of pixels

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Daniel Brown
On Jan 4, 2008 12:59 PM, Casey <[EMAIL PROTECTED]> wrote: [snip] > I'm laying many different other (smaller) images over each other at > various positions. (I know HTML/CSS and SVG could do this with less > trouble, but that would give away my secrets by just viewing the > source.) Okay, so ki

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Casey
On Jan 4, 2008, at 9:54 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: On Jan 4, 2008 12:46 PM, Casey <[EMAIL PROTECTED]> wrote: Greetings, list. I have a web application that generates PNG images that are thousands of pixels high by thousands of pixels wide (using imagepng, etc.). The problem

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Daniel Brown
On Jan 4, 2008 12:46 PM, Casey <[EMAIL PROTECTED]> wrote: > Greetings, list. > > I have a web application that generates PNG images that are thousands > of pixels high by thousands of pixels wide (using imagepng, etc.). > > The problem is this takes way too much memory, and the rest of the > site b

[PHP] image* Functions' Memory Usage

2008-01-04 Thread Casey
Greetings, list. I have a web application that generates PNG images that are thousands of pixels high by thousands of pixels wide (using imagepng, etc.). The problem is this takes way too much memory, and the rest of the site becomes too slow. I'm working on something to cache the images,