Download the PHP package pomirleanu/gif-create without Composer
On this page you can find all versions of the php package pomirleanu/gif-create. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pomirleanu/gif-create
More information about pomirleanu/gif-create
Files in pomirleanu/gif-create
Package gif-create
Short Description Easy way to create gif animations from png images.
License MIT
Homepage https://github.com/pomirleanu/gif-create
Informations about the package gif-create
gif-create
Easy way to create gif animations from png images for laravel 5.*.
Install
Via Composer
Usage basic php
1. Inputs:
2. Create the GIF:
3. Get/use the result:
You can now get the animated GIF binary:
...and e.g. send it directly to the browser:
Or just save it to a file:
Usage in laravel 5.*
Service provider should be :
Publish needed assets (config file) :
Note: Composer won't update them after composer update
, you'll need to do it manually!
Behavior
- Transparency is based on the first frame. [!!NOT VERIFIED: "It will be saved only if you give multiple frames with the same transparent background"]
- The dimensions of the generated GIF are based on the first frame, too. If you need to resize your images to get the same dimensions, you can use this class: https://github.com/Sybio/ImageWorkshop.
Dependencies
- PHP 5.3 (for namespace support & whatnot; noone still shamelessly uses PHP < 5.3, right?!)
- GD (
imagecreatefromstring
,imagegif
,imagecolortransparent
)
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Pomirleanu Florentin Cristinel
- All Contributors
License
The MIT License (MIT). Please see License File for more information.