- Notifications
You must be signed in to change notification settings - Fork17
🖼️ PHP image manipulation class
License
elboletaire/Watimage
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Watimage is a group of PHP classes to help you resize, rotate, apply filters,watermarks and a lot more of things to your images using the PHP's GD library.
It was initially a CakePHP component, later became a simple Vendor class and nowis a powerful set of classes to alter images.
And it maintains the transparencies in every scenario.
You need php > 5.4 and thephp GDpackage installed.
With aptitude:
sudo apt-get install php5-gd
With yum:
sudo yum install php-gd
With composer:
composer require elboletaire/watimage:~2.0.0
Check out the Watimage pages formore information about installation.
See all the information you need to knowat the Watimage pages
Check outthe APIat the Watimage pages.
There are lot of examples at theexamples
folder, plus a lot more of examplesand tutorialsin the Watimage pages.
Before running the given examples, you need tocomposer install
fromWatimage
root folder in order to get composer's autoloader downloaded intovendor
folder.
composer installcd examplesphp Image.phpphp Watermark.phpphp Watimage.php
You can also put theWatimage
folder in your local webhost webroot dir andpoint there your browser.
Please, see the information about testing inthe Watimage pages.
- Fork
- Mod, fix
- Test - this is important, so it's not unintentionally broken
- Commit - do not mess with license, todo, version, etc. (if you do change any, bump them into commits oftheir own that I can ignore when I pull)
- Pull request - bonus point for topic branches
See theissues section.
Check out thereleases on github.They have different order than expected because I've created tags recently tonot loose them and to have the whole changelog there.
SeeLICENSE.md.
About
🖼️ PHP image manipulation class