PHP Classes

Simple Image: Resize images preserving the original proportions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-11-05 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 399 All time: 6,053 This week: 1,082Up
Version License PHP version Categories  
simple-image 1.0.0GNU General Publi...4.0PHP 5, Graphics
Description Author  

This is a simple class can resize images preserving the original proportions.

It can load an image in the GIF, JPEG or PNG format and resize it to given dimensions.

The class can also resize the image to a given width or height and calculate automatically the other dimension to preserve the original proportions.

Thr resized image can be saved to another file with the same or a different format of the original.

Picture of Juraj Puchký
Name: Juraj Puchký <contact>
Classes: 2 packages by
Country: Czech Republic Czech Republic
Age: 33
All time rank: 273430 in Czech Republic Czech Republic
Week rank: 571 Up5 in Czech Republic Czech Republic Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file sample.php Example Sample script
Plain text file SimpleImage.php Class SimpleImage class

 Version Control Unique User Downloads Download Rankings  
 0%Total:399All time:6,053
 This week:0This week:1,082Up
 User Comments (1)  
Remove this: defined ( '_JEXEC' ) or die ( 'Restricted access...
1 year ago (Maykonn Welington Candido)