Re: Writing PNG Images to File from Command Line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dpgirago@xxxxxxxxxxxxxx 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 implementations that may be more suitable for your
application.

I suspect your PNGs have only a handful of colors anyway, and may already
be as small as they can be...  You'd have to benchmark to find out.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux