Login   Register  
PHP Classes
elePHPant
Icontem

Resize Images: Generate resized images

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 (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-06-24 (6 years ago) RSS 2.0 feedStarStarStar 57%Total: 11,292 This week: 2All time: 100 This week: 885Down
Version License Categories  
resizeimages 1.0FreewareGraphics
Description Author  

This is a simple class that can resize an image of any format supported by the PHP GD library extension.

It can resize an image give its target size values in absolute pixel values or by specifying the size values as a percentage.

In latter, the class can resize the image keeping the aspect ratio using the same percentage for the width and height scales or use different percentage scales to distort the aspect ratio.

The resized image is generated in true color so the original colors are preserved. For this, it is recommended to save the resized images in PNG or JPEG formats, despite the class supports all other formats supported by the GD library.

Picture of Harish Chauhan
Name: Harish Chauhan is available for providing paid consulting. Contact Harish Chauhan .
Classes: 28 packages by
Country: India India
Age: ???
All time rank: 32 in India India
Week rank: 9 Down2 in India India Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file resizeimage.inc.php Class main class
Accessible without login Plain text file resizeimagetest.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%Total:11,292All time:100
 This week:2This week:885Down
User Ratings User Comments (2)  
 All time
Utility:86%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:61%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1063
 
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar
Very easy, and very useful .
5 years ago (Frank Moore)
67%StarStarStarStar