Registry / utility / sybio-gif-creator

sybio-gif-creator

JSON →
library1.0.0phppackagistunverified

PHP class that creates animated GIF from multiple images.

composer require sybio/gif-creator
INSTALL
IMPORT
SIG · SYBIO-GIF-CREATOR
S
sybio-gif-creator
utilityphpv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GifCreator
use Sybio\GifCreator\GifCreator;

Create an animated GIF from two PNG frames with 100ms delay each.

use Sybio\GifCreator\GifCreator; $gifCreator = new GifCreator(); $frames = [imagecreatefrompng('frame1.png'), imagecreatefrompng('frame2.png')]; $durations = [100, 100]; $gifBinary = $gifCreator->create($frames, $durations); file_put_contents('animated.gif', $gifBinary);
Debug
Known issues
gotchaRequires GD extension
fix
Install the PHP GD extension (php-gd) to use image functions.
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
sybio-gif-creator — pip install sybio-gif-creator · libregistry