PHP Classes
elePHPant
Icontem

Image dynamic resizer: Resize an image keeping the aspect ratio

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-10-28 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 859 All time: 3,905 This week: 893Up
Version License PHP version Categories
img_resizer 1.0BSD License5PHP 5, Graphics
Description Author

This class can be used to resize an image keeping the aspect ratio.

It can load an image from a given file or use a previously computed image.

The class can resize the image to a given width or height keeping the original aspect ratio.

If the original aspect ratio differs from the desired size aspect ratio, the resulting image can either be cropped or filled with a given background color.

Picture of andrei tataranu
Name: andrei tataranu <contact>
Classes: 1 package by
Country: Romania Romania

  Files folder image Files  
File Role Description
Plain text file cls_iresizer.php Class php class
Accessible without login Image file image.jpg Photo sample image
Accessible without login Plain text file image.php Example outputs an image
Accessible without login Plain text file index.php Example example of use

 Version Control Unique User Downloads Download Rankings  
 0%
Total:859
This week:0
All time:3,905
This week:893Up