PHP Classes

Watermark: Apply watermark text to an image

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 4,634 All time: 602 This week: 310Up
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
Age: 42
All time rank: 6351 in Uruguay Uruguay
Week rank: 516 Up1 in Uruguay Uruguay Equal

  • mypic.jpg
  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:602
This week:310Up
User Ratings User Comments (2)
 All time
This Class has errors.
9 years ago (Michail)
Very good!
12 years ago (Svyatoslav Zhurovsky)
For more information send a message to info at phpclasses dot org.