Login   Register  
PHP Classes
elePHPant
Icontem

Thumbnail and Watermark: Create thumbnails, watermarks and resize images.

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Emilio Rodriguez
Name: Emilio Rodriguez <e-mail contact>
Packages: 2 Browse all classes by Emilio Rodriguez Browse all classes by
Country: Spain Spain - PHP jobs in Spain
Age: 39
All time rank: 1829 in Spain Spain
Week rank: 593 Down17 in Spain Spain Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This is a class that can process an image on the fly by either generate a thumbnail, apply an watermark to the image, or resize it.
Autodetect GD 1 and GD 2, auto-fitting, scaling, calculate quality factor for a specific file size, suport bicubic resample algorithm.

The processed image can either be displayed in a page, saved to a file, or returned to a variable.

It requires the PHP with support for GD library extension in either version 1 or 2. If the GD library version 2 is available it the class can manipulate the images in true color, thus providing better quality of the results of resized images.

Features description:

- Thumbnail: normal thumbnail generation
- Auto-fitting: adjust the dimensions so that the resized image aspect is not distorted
- Scaling: enlarge and shrink the image
- Format: both JPEG and PNG are supported, but the watermark image can only be in PNG format as it needs to be transparent
- Autodetect the GD library version supported by PHP
- Calculate quality factor for a specific file size in JPEG format.
- Suport bicubic resample algorithm

  Classes of Emilio Rodriguez  >  Thumbnail and Watermark  >  Download Download .zip .tar.gz  >  Support forum Support forum (7)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Thumbnail and Watermark
Base name: thumbnail_watermark
Description: Create thumbnails, watermarks and resize images.
Version: 1.0.0
PHP version: -
License: GNU General Public License (GPL)
All time users: 9734 users
All time rank: 126
Week users: 2 users
Week rank: 1166 Down
 
  Groups   Screenshots Screenshots   Freshmeat project  
  Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes

  Files folder image Screenshots  
Sample Screenshot
File Role Description
Accessible without login Image file screenshot.jpg Screen Sample Screenshot


  Freshmeat project  
Project record: thumbnail_watermark
Popularity score: 11.83
Vitality score: 57.98

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (92.6%) Good (85.1%) Sufficient (78.4%) Good (89.9%) - - Sufficient (71.6%) 153
Month: Not yet rated by the users

  Trackback links  
Link Description
PHP Image Resize masal dengan memanfaatkan class dari Emilio Rodriguez Beberapa waktu lalu ada yang butuh script untuk melakukan resize Image secara massal, masal dalam artian semua file gambar disimpan pada direktori tertentu selanjutnya di panggil satu per satu secara otomatis dan di resize...
Save image given URL using a PHP script (Italian) Prova questa classe, potrebbe esserti utile...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
HTML file description.htm Doc. Description
HTML file doc.html Doc. Class documentation
Image file sample1.jpg Photo Test image 1
Image file source.jpg Photo Test source image
Image file text_sample.jpg Screen Sample Screenshot
Plain text file Thumbnail.class.php Class Class
Plain text file Thumbnail_sample.php Example Sample
Plain text file Thumbnail_save_sample.php Example Sample: generate thumbnail + watermark and save to a file with a unique filename
Plain text file Thumbnail_text_sample.php Example Sample: generate thumbnail with text watermark addon
Image file watermark.png Photo sample watermark

Install with Composer Install with Composer - Download Download all files: thumbnail_watermark.tar.gz thumbnail_watermark.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.