News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Pierre's Blog:
imagepng, take #2
January 30, 2006 @ 07:37:31

Pierre has posted his second look at working with the imagepng function today over on his blog.

Bernhard Seefeld was testing the new compression option for imagepng and was wondering why there is still a relative big difference in image sizes.

In my first attempt to create smaller images, I only allowed to change the compression, it was not sufficient to get really lite pictures.

After a short look to the libpng codebase (and the horrible imagick doc), I added a last argument to imagepng, the filtering mode.

He includes code later in the post, showing how to use this filtering option to make even smaller images (an option included from PHP 5.1.3 and up).

0 comments voice your opinion now!
imagepng compresssion light filtering option imagepng compresssion light filtering option


blog comments powered by Disqus

Similar Posts

Debuggable Blog: How to Fetch the ENUM Options of a Field - The CakePHP Enumerable Behavior

Matthias Noback: Symfony2: Add a global option to console commands and generate a PID file

Zend Developer Zone: PHP Built in Input filtering

Mikko Koppanen's Blog: Color analysis

Zend Developer Zone: Two Security Tips - Naming Scheme & Input Filtering


Community Events

Don't see your event here?
Let us know!


series voicesoftheelephpant testing introduction community composer release library symfony2 opinion podcast application interview framework performance php7 api example laravel version

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework