PHP Classes

Smart Image: Resize and add watermarks to images

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 663 This week: 1All time: 4,859 This week: 560Up
Version License PHP version Categories
smartimage 0.8.9GNU Lesser Genera...4.0.1PHP 5, Graphics
Description 

Author

This package can be used to rescale and add watermarks to images.

It can read images in either GIF, JPEG or PNG formats and apply several processing operations.

The class can rescale an image either by preserving its proportions or cropping it to not exceed and given width or height.

It can also add a watermark by overlaying another image at a give position with a configurable transparency level.

The processed image can be saved to file or served as the current script output in the original format.

Picture of Alessandro Coscia
Name: Alessandro Coscia <contact>
Classes: 1 package by
Country: Italy Italy
Age: ???
All time rank: 2909111 in Italy Italy
Week rank: 411 Up18 in Italy Italy Up

Details

//==================================================// SmartImage php class http://www.codicefacile.it/smartimage/ Author: Alessandro Coscia, Milano, Italy, php_staff@yahoo.it LGPL, Please, read licence.txt Please, if you use this class send me your url at php_staff@yahoo.it //==================================================// TUTORIAL: For some examples of how to use SmartImage open sample01.php and sample02.php //==================================================// Requirements: PHP >=4.0.1 or PHP >=5 GD1 or GD2 //==================================================// Installation: 1. Extract the zip file containing the class 2. Upload all files 3. CHMOD the destination folder (newimages/) to 777 4. open sample01.php with a browser and check "newimages" for results! DONE!!!

  Files folder image Files  
File Role Description
Files folder imageimages (2 files)
Files folder imagenewimages (1 file)
Accessible without login Plain text file SmartImage.class.php Aux. SmartImage class - Select PHP Version
Plain text file SmartImage.php5.class.php Class SmartImage class for PHP 5
Plain text file SmartImage.php4.class.php Class SmartImage class for PHP 4
Accessible without login Plain text file sample01.php Example Firts Example
Accessible without login Plain text file sample02.php Example Second Example
Accessible without login Plain text file license Lic. License
Accessible without login Plain text file readme.txt Doc. Readme

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file car.jpg Photo image for samples scripts
  Accessible without login Image file smartimage.gif Photo image for samples scripts

  Files folder image Files  /  newimages  
File Role Description
  Accessible without login Plain text file readme.txt Doc. read me file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:663
This week:1
All time:4,859
This week:560Up
 User Ratings  
 
 All time
Utility:62%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:43%StarStarStar
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2960