PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 870 All time: 4,031 This week: 310Up
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
Age: 40
All time rank: 253750 in Romania Romania
Week rank: 578 Up7 in Romania Romania Up

  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:870
This week:0
All time:4,031
This week:310Up