Login   Register  
PHP Classes
elePHPant
Icontem

Simple Image: Resize images preserving the original proportions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (10 months ago) RSS 2.0 feedNot enough user ratingsTotal: 390 This week: 1All time: 5,946 This week: 1,447Up
Version License PHP version Categories  
simple-image 1.0.0GNU General Public Lice...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: 32
All time rank: 272229 in Czech Republic Czech Republic
Week rank: 787 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:390All time:5,946
 This week:1This week:1,447Up
 User Comments (1)  
 
Remove this: defined ( '_JEXEC' ) or die ( 'Restricted access...
10 months ago (Maykonn Welington Candido)
47%StarStarStar