PHP Classes

Image Resizing Class: Resize images preserving the 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
StarStarStar 48%Total: 6,356 All time: 338 This week: 524Down
Version License PHP version Categories
image_resizer 1.0.0Freeware3Graphics
Description 

Author

This class can be used to resize images preserving the aspect ratio.

It can open a JPEG, PNG or GIF image and resize it in such way that neither the width nor the height exceed given size limits.

The image is resized to preserve the original proportion between the width and height.

The resized image is generated in the JPEG format overwriting the original image file.

Picture of Himanshu Patel
Name: Himanshu Patel <contact>
Classes: 1 package by
Country: United States United States

  Files folder image Files (3)  
File Role Description
Plain text file class.image-resize.php Class This Class contains functions for resizing image
Accessible without login Image file example.jpg Photo sample image
Accessible without login Plain text file example.php Example This is example ready for running

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  
 0%
Total:6,356
This week:0
All time:338
This week:524Down
 User Ratings  
 
 All time
Utility:70%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:-
Examples:60%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:3043