Zend Optimizer will speed up the code, but I do not believe it crunches the
size of files. If you need smaller files for a graph, use PNG or JPEG - not
the GIF format. The GIF format is old and unoptimized in PHP/GD, so it gets
really big in size unless you have something like ImageMagick to optimize it
after it has been created.

PNGs are kind of like the new GIF format when working with PHP image
generation. JPEG format is best reserved for photos and such.

- Jonathan

"Johan Alfredeen" <[EMAIL PROTECTED]> wrote in message
> Ok, I've searched the archives and even contacted the Zend staff on this
> one, and I'm still confused. I also posted this question at the Zend
> Optimizer Forum but have not received an answer. I'm hoping one of you has
> some idea of how the Zend Optimizer works and can explain it. My webhost
> offers PHP 4 on Linux/Apache with the Zend Optimizer (v0.99) Engine
> and I have checked phpinfo() to make sure it's installed and running. I
> would like to optimize a particular function that generates a graph image
> the fly. What do I need to do make use of the Zend Optimizer? Is it used
> automatically or do I first need to compile the code into a binary file?
> someone knows a great source of info on this (other than www.zend.com),
> would be helpful too.
> Thanks,
> Johan Alfredeen

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to