News Feed
Sections




News Archive
feed this:

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


Richard Davey's Blog:
Easy Reflections
October 25, 2006 @ 16:34:00

On his blog today, Richard Davey shares a bit of code that will take an image and make a "nicely formatted reflection" of it automatically.

You can use it to give your site that 'iTunes / Apple' look if you so desire. I created it to make image uploads to a site I run look that little bit nicer, so figured I would share it with you all.

The script, Easy Reflections, can be grabbed from here along with the installation and use instructions (including the values for the six parameters to change the image).

0 comments voice your opinion now!
easy reflections functionality image relfect gif jpeg png download easy reflections functionality image relfect gif jpeg png download


Zend Developer Zone:
Cool Image Thumbnail Class
August 30, 2006 @ 07:41:58

On the Zend Developer Zone, they point out a handy little image manipulation class they've come across - GenXDesign's PHP Thumbnail Class - as well as some details about it.

I've seen a lot of implementations of thumb nail functionality in PHP, I've even written a couple of my own. I like this class thought. In looking over the code the first thing you notice is that it's clean code. I don't mean they use the latest whiz-bang method to cshave a few keystrokes.

This code is simple, nicely formatted and easy to read through. My only real problem with the code itself is that it is not terribly well documented. That can be forgiven since easy to read.

Cal talks about some of the other features of the class, including that it works with gif/jpeg/png images, makes it easy to set the quality of the jpgs, and makes it easy to display the dynamic images directly to the browser. Check out the demo for more.

0 comments voice your opinion now!
image thumbnail class genxdesign gif jpeg png quality resize image thumbnail class genxdesign gif jpeg png quality resize



Community Events





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


framework developer unittest introduction series podcast opinion install list interview symfony2 threedevsandamaybe language refactor laravel code api community testing release

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