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
Dec 29, 2006 @ 16: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.

tagged: class phpclasses compress jpeg reducer class phpclasses compress jpeg reducer

Link:

Zend Developer Zone:
Compressing JPEG images with JPEG Reducer
Dec 29, 2006 @ 16: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.

tagged: class phpclasses compress jpeg reducer class phpclasses compress jpeg reducer

Link:

Richard Davey's Blog:
Easy Reflections
Oct 25, 2006 @ 21: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).

tagged: easy reflections functionality image relfect gif jpeg png download easy reflections functionality image relfect gif jpeg png download

Link:

Richard Davey's Blog:
Easy Reflections
Oct 25, 2006 @ 21: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).

tagged: easy reflections functionality image relfect gif jpeg png download easy reflections functionality image relfect gif jpeg png download

Link:

Zend Developer Zone:
Cool Image Thumbnail Class
Aug 30, 2006 @ 12: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.

tagged: image thumbnail class genxdesign gif jpeg png quality resize image thumbnail class genxdesign gif jpeg png quality resize

Link:

Zend Developer Zone:
Cool Image Thumbnail Class
Aug 30, 2006 @ 12: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.

tagged: image thumbnail class genxdesign gif jpeg png quality resize image thumbnail class genxdesign gif jpeg png quality resize

Link:


Trending Topics: