Download the PHP
package moroz1999/gif-creator without Composer
On this page you can find all versions of the php package
moroz1999/gif-creator. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
GifCreator is a PHP class to create animated GIF from multiple images
For what ?
This class helps you to create an animated GIF image: give multiple images and their duration and that's it !
Usage
1 - Creation:
The 3rd parameter of create() method allows you to choose the number of loop of your animated gif before it stops.
In the previous example, I chose 5 loops. Set 0 (zero) to get an infinite loop.
2 - Get the result:
You can now get the animated GIF binary:
Then you can show it in the navigator:
Or save it in a folder as a GIF:
Behavior
The transparency is based on the first given frame. It will be saved only if you give multiple frames with same transparent background.
The dimensions of the generated GIF are based on the first frame. If you need to resize your frames to get the same dimension, you can use
this class: https://github.com/Sybio/ImageWorkshop
About
The class reuses some part of code of "GIFEncoder.class.php" by László Zsidi (thanks to him).
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package moroz1999/gif-creator contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.