PHP Classes

Resize Image Helper: Resize images with configurable aspect ratio

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

Author

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: 273035 in Argentina Argentina
Week rank: 164 Up3 in Argentina Argentina Up

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

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:764
This week:0
All time:4,425
This week:524Up
User Ratings User Comments (2)
 All time
Utility:90%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1095