Re: [PHP] Writing PNG Images to File from Command Line

2005-02-23 Thread Richard Lynch
[EMAIL PROTECTED] wrote: > Is it possible to limit the bit-depth or reduce the file size of a PNG > image ? I haven't found anything in the manual about this as yet. http://php.net/imagetruecolortopalette There are User Contributed posts in there that also give suggestions for alternative impleme

Re: [PHP] Writing PNG Images to File from Command Line

2005-02-22 Thread dpgirago
Bret, Richard, Jason, Thank you all for your comments and suggestions. What I had been doing -- using GD to create the image with db data in one file, then calling this file from in another page, seems to have been the culprit in regards to the latency issue. Of note is that this is an intrane

Re: [PHP] Writing PNG Images to File from Command Line

2005-02-22 Thread Jason Barnett
Richard Lynch wrote: ... Good stuff ... > All that said: > If you only have a handful of color coded flags, and you are using GD to > re-draw an image every time, that's kinda silly... > > Perhaps I'm missing something here, but: > > Just use your query to decide which flag to *USE* instead of dr

Re: [PHP] Writing PNG Images to File from Command Line

2005-02-22 Thread Richard Lynch
> Because of some latency issues in the display of dynamically created PNG > images, I've been trying to separate the image-creation process from the > image-display process. Essentially, I'm trying to run a cron job that > writes a PNG image to file every 5 seconds. The php file pulls data from a

Re: [PHP] Writing PNG Images to File from Command Line

2005-02-22 Thread Bret Hughes
On Tue, 2005-02-22 at 10:14, [EMAIL PROTECTED] wrote: > Howdy, > > Because of some latency issues in the display of dynamically created PNG > images, I've been trying to separate the image-creation process from the > image-display process. Essentially, I'm trying to run a cron job that > writes

[PHP] Writing PNG Images to File from Command Line

2005-02-22 Thread dpgirago
Howdy, Because of some latency issues in the display of dynamically created PNG images, I've been trying to separate the image-creation process from the image-display process. Essentially, I'm trying to run a cron job that writes a PNG image to file every 5 seconds. The php file pulls data from