Download the PHP package openregion/gif without Composer
On this page you can find all versions of the php package openregion/gif. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download openregion/gif
More information about openregion/gif
Files in openregion/gif
Package gif
Short Description PHP GIF Encoder/Decoder
License MIT
Homepage https://github.com/openregion/gif
Informations about the package gif
Intervention GIF
Native PHP GIF Encoder/Decoder
Intervention GIF is a PHP encoder and decoder for the GIF image format that does not depend on any image processing extension.
This repository contains the openregion/gif fork maintained for PHP 8.1+ compatibility.
Only the special Splitter::class class divides the data stream of an animated
GIF into individual GDImage objects for each frame and is therefore dependent
on the GD library.
The library is the main component of Intervention Image for processing animated GIF files with the GD library, but also works independently.
Installation
You can easily install this package using Composer. Just request the package with the following command:
Code Examples
Decoding
Encoding
Use the Builder class to create a new GIF image.
Requirements
- PHP >= 8.1
Development & Testing
With this package comes a Docker docker test runners. To build this container you have to have Docker installed on your system. You can run all tests with this command.
Run the static analyzer on the code base.
Authors
This library is developed and maintained by Oliver Vogel
This fork is co-maintained by CIT Open Region.
Thanks to the community of contributors who have helped to improve this project.
License
Intervention GIF is licensed under the MIT License.