Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GifCreator doesn't work #120

Open
BartTotal opened this issue Apr 29, 2019 · 0 comments
Open

GifCreator doesn't work #120

BartTotal opened this issue Apr 29, 2019 · 0 comments

Comments

@BartTotal
Copy link

Hi
I tryed your GifCreator. It doesn't give any reaction or image. Not even a Error:

<?php
use GifCreator\GifCreator as GifCreator;


require_once('GifCreator.php');



// Create an array containing file paths, resource var (initialized with imagecreatefromXXX), 
// image URLs or even binary code from image files.
// All sorted in order to appear.
$frames = array("image_1.png", "image_2.png");

// Create an array containing the duration (in millisecond) of each frames (in order too)
$durations = array(40, 80);

// Initialize and create the GIF !
$gc = new GifCreator();
$gc->create($frames, $durations, 5);

?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant