imagettftextblur is a drop in replacement for imagettftext with added parameters to add blur, glow and shadow effects to your PHP GD images.
imagettftextblur is an agjgd.org project.
Install using Composer
Either run this command:
composer require andrewgjohnson/imagettftextblur
or add this to the
require section of your composer.json file:
// standard method to add text to a GD image imagettftext($im, 20, 0, 0, 0, $color, $font, $string); // this will work the exact same as the line above imagettftextblur($im, 20, 0, 0, 0, $color, $font, $string); // method to add blurred text to a GD image imagettftextblur($im, 20, 0, 0, 0, $color, $font, $string, 1);
Please post any questions in the discussions area on GitHub if you need help.
Please read our contributing guidelines if you want to contribute.
This project was started by Andrew G. Johnson (@andrewgjohnson).
Full list of contributors:
Our security policies and procedures comes via the atomist/samples project. Our issue templates comes via the tensorflow/tensorflow project. Our pull request template comes via the stevemao/github-issue-templates project. The mountains photo comes via Gabriel Garcia Marengo.
You can find all notable changes in the changelog.