Skip to content

imagettftextblur is a drop in replacement for imagettftext with an added parameter to add blur, glow and shadow effects to your PHP GD images.

License

Notifications You must be signed in to change notification settings

albertshen/imagettftextblur

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imagettftextblur

Description

imagettftextblur is a drop in replacement for imagettftext with an added parameter to add blur, glow and shadow effects to your PHP GD images.

Usage

To get started simply add a reference in your code to imagettftextblur.php and change all calls from imagettftext to imagettftextblur. To add blur simply pass an integer greater than zero as the final parameter.

Example

imagettftext($image,20,0,0,0,$color,$font,$string);       // standard method to add text to a GD image
imagettftextblur($image,20,0,0,0,$color,$font,$string);   // this will work the same as the line above
imagettftextblur($image,20,0,0,0,$color,$font,$string,5); // method to add blurred text to a GD image

There are a number of other examples included in the repository.

Acknowledgements

This project was started by Andrew G. Johnson, contact via Twitter, Email, GitHub or Online

Changelog

######v1.0.0 (March 19, 2013)

  • Intial release of imagettftextblur

About

imagettftextblur is a drop in replacement for imagettftext with an added parameter to add blur, glow and shadow effects to your PHP GD images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published