PHP Classes

Overlay Text: Render an image with a text over a background

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 463 All time: 6,048 This week: 284Up
Version License PHP version Categories
overlaytext 1.0Free for non-comm...4.0Graphics
Description 

Author

This class can be used to render an image with a text over another background image.

It takes the path of a background image file and creates a new image with a text rendered over the background image.

The text font, font size, color and alignment are configurable parameters.

The generated overlay image is stored in a given path in JPEG format.

Picture of Mark Berube
Name: Mark Berube <contact>
Classes: 6 packages by
Country: United States United States
Age: 55
All time rank: 951131 in United States United States
Week rank: 389 Up44 in United States United States Up

Details
Setup NOTES: 1. YOU MUST include a font file Whichever font you want to use) in the same directory as the script. 2. YOU MUST specify that font file in the base class file under "User-defined variables" section. 3. The script MUST have write permission to the directory to create the new image with the embedded text The script wont work if you dont perform these 3 steps
  Files folder image Files  
File Role Description
Plain text file class.overlay.php Class Base class file
Accessible without login Plain text file example.php Example Example usage
Accessible without login Image file img_in.jpg Data Image to test with
Accessible without login Plain text file index.php Example Example Web Form
Accessible without login Plain text file README.txt Doc. Setup Documentation

 Version Control Unique User Downloads Download Rankings  
 0%
Total:463
This week:0
All time:6,048
This week:284Up