Download the PHP package andrewgjohnson/agjgd without Composer
On this page you can find all versions of the php package andrewgjohnson/agjgd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andrewgjohnson/agjgd
More information about andrewgjohnson/agjgd
Files in andrewgjohnson/agjgd
Package agjgd
Short Description AgjGd extends the functionality of PHP’s GD library. It is a single class, \AndrewGJohnson\AgjGd, with functionality exposed via public static methods
License MIT
Homepage https://AgjGd.org
Informations about the package agjgd
AgjGd
Description
AgjGd is a project that extends the functionality of PHP’s GD library started by Andrew G. Johnson. It is a single class, \AndrewGJohnson\AgjGd, with functionality exposed via public static methods.
Example
You can find more examples and the full documentation for every method at AgjGd.org.
Methods
- AgjGd::imageblendedcolorallocate allocates a new blended color based on two existing allocated colors for your PHP GD images.
- AgjGd::imagecolorallocatefromstring allocates a color based on a string for your PHP GD images.
- AgjGd::imagefttextfilter is a drop-in replacement for
imagefttext/imagettftextwith added parameters to add filtered text enabling blur, glow and shadow effects on your PHP GD images. - AgjGd::imagefttextgradient is a drop-in replacement for
imagefttext/imagettftextwith added parameters to add gradient coloring effects to your PHP GD images. - AgjGd::imagegradientrectangle draws a gradient filled rectangle on your PHP GD images.
- AgjGd::linebreaksfortext automatically inserts line breaks into your text while using PHP’s
imagefttext/imagettftextfunctions.
Usage
With Composer
This project offers support for the Composer dependency manager. You can find the AgjGd package online on packagist.org.
Install using Composer
Either run this command:
or add this to the require section of your composer.json file:
Without Composer
To use without Composer add a require_once call for the AgjGd.php source file.
Contributing
Please read our contributing guidelines if you want to contribute.
You can contribute financially by becoming a patron at patreon.com/agjopensource to support AgjGd.
Help Requests
Please post any questions in the discussions area of the GitHub repository.
If you discover a bug please enter an issue on the GitHub repository.
Acknowledgements
Full list of contributors:
- Andrew G. Johnson (@andrewgjohnson)
- Philip van Heemstra (@vHeemstra)
- Imgbot (@ImgBotApp)
- GitHub Actions (github-actions[bot])
Our security policies and procedures come via the atomist/samples project. Our pull request template comes via the stevemao/github-issue-templates project. The Jekyll theme was released by Andrew G. Johnson.
Changelog
You can find all notable changes in the changelog.
All versions of agjgd with dependencies
ext-gd Version *



