PHP Classes

Easy Resize Image: Resize images keeping 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
Not enough user ratingsTotal: 2,707 All time: 1,404 This week: 524Up
Version License PHP version Categories
image_resize_tool 1.0Freely Distributable3.0Graphics
Description 

Author

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

It can open an image from a file or a remote URL and create a resized version of the image that neither the width nor the height exceed a given value.

The class returns a GD image resource handle that can be used to serve the resized image in any format supported by the GD library.

Picture of László Zsidi
Name: László Zsidi <contact>
Classes: 13 packages by
Country: Hungary Hungary
Age: 51
All time rank: 331 in Hungary Hungary
Week rank: 170 Down3 in Hungary Hungary Down
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  Files folder image Files (4)  
File Role Description
Accessible without login Image file foto.jpg Data Example foto file
Accessible without login Plain text file image.php Example Image generator
Accessible without login Plain text file index.php Example Example script
Plain text file resizeImage.class.php Class Main Class

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:2,707
This week:0
All time:1,404
This week:524Up