News Feed
Jobs Feed
Sections




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

Zend Developer Zone:
Compressing JPEG images with JPEG Reducer
December 29, 2006 @ 10:19:00

On the Zend Developer Zone, Manuel Lemos has posted a brief look at one of the classes over on the PHPClasses.org website - JPEG Reducer.

If you want to generate JPEG images with a limited file size, and at the same time you do not want to sacrifice too much the image quality, you have to find an approximated value for the quality factor that leads to an image with a file size near the desired limit.

The JPEG Reducer takes this approach, providing you with the ability to give it the quality you want and have it approximate the closest values to convert it to. There's a brief code example included as well. Check out the full documentation for the class here.

0 comments voice your opinion now!
class phpclasses compress jpeg reducer class phpclasses compress jpeg reducer


blog comments powered by Disqus

Similar Posts

Community News: Latest PHPClasses.org Releases for 01.02.2008

DevShed: Using Abstract Factory Classes in PHP 5 to Work with Online Forms

Community News: Latest PHPClasses.org Releases for 09.19.2007

Community News: Latest PHPClasses.org Releases for 01.24.2007

Sebastian Bergmann's Blog: PHPUnit and Software Metrics


Community Events











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


install facebook component framework hack overview unittest database release opinion application podcast introduction composer package language hhvm symfony2 security performance

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