diff --git a/README.md b/README.md index 847eb0d..3fea927 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ $frames = array( $durations = array(40, 80, 40, 20); // Initialize and create the GIF ! -$gc = new GifCreator(); +$gc = new GifCreator\GifCreator(); $gc->create($frames, $durations, 5); ``` The 3rd parameter of create() method allows you to choose the number of loop of your animated gif before it stops. @@ -64,4 +64,4 @@ 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). \ No newline at end of file +The class reuses some part of code of "GIFEncoder.class.php" by László Zsidi (thanks to him).