I am having a bit up trouble upload gifs and keeping their animation. My code looks like this:
$image = new Imagick($data['file']);
$object -> uploadFile('test.gif', $image -> getImageBlob());
And the gif goes not seem to be preserved when the getImageBlob() is used. Ive event tried:
$image = new Imagick($data['file']);
$image = $image->coalesceImages();
$image = $image->deconstructImages();
$object -> uploadFile('test.gif', $image -> getImageBlob());
Is there way I can preseve the gif when using getImageBlob()?