PHP Classes

Resize Image Helper: Resize images with configurable aspect ratio

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 764 All time: 4,424 This week: 524Up
Version License PHP version Categories
resize-image-helper 1.0BSD License5PHP 5, Graphics


This class can resize images with configurable aspect ratio.

It can load a picture from a file in either PNG, JPEG or GIF format.

The class can resize the picture either in the width, height or both dimensions.

It can also resize the image changing the aspect ratio to a given value different from the original image.

The resulting image can be saved to a file in the same or a different format from the original.

The PNG compression level or the JPEG quality level are configurable parameters.

Picture of Martin San Juan
  Performance   Level  
Name: Martin San Juan <contact>
Classes: 1 package by
Country: Argentina Argentina
Age: 37
All time rank: 272935 in Argentina Argentina
Week rank: 262 Up4 in Argentina Argentina Up

  Files folder image Files  
File Role Description
Files folder imageclasses (1 file)
Accessible without login Plain text file example.php Example Example script

  Files folder image Files  /  classes  
File Role Description
  Plain text file resize_image_helper.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,424
This week:524Up
User Ratings User Comments (2)
 All time