PHP Classes

Watermark: Apply watermark text to an image

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 4,637 All time: 606 This week: 524Up
Version License Categories
watermark 1.0.0Freely DistributableGraphics
Description 

Author

This class can be used to apply an watermark text to an image.

It reads a true color image from a file, draws a watermark and saves the processed image.

The watermark text can be rendered with a configurable true type font, font size and font width scale factor.

The class can load and save images in the formats: GIF, PNG and JPEG.

The resulting image can be saved to a file or generated as part of the current script.

When saving to a file, the class may check whether the output file to avoid overwriting it.

Picture of Mario Guarinoni
Name: Mario Guarinoni <contact>
Classes: 1 package by
Country: Uruguay Uruguay

Screenshots (1)  
  • mypic.jpg
  Files folder image Files (4)  
File Role Description
Plain text file watermark.class.php Class the class
Plain text file documentation.txt Doc. the documentation file
Plain text file example.php Example example to run

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,637
This week:0
All time:606
This week:524Up
User Ratings User Comments (2)
 All time
Utility:72%StarStarStarStar
Consistency:55%StarStarStar
Documentation:60%StarStarStarStar
Examples:77%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1967
 
This Class has errors.
11 years ago (Michail)
45%StarStarStar
Very good!
15 years ago (Svyatoslav Zhurovsky)
80%StarStarStarStarStar