Cloudinary allows generating an animated GIF out of several uploaded images and based on a tag which they all share.
For security reasons, generating such GIF image is possible only via our API via the multi method, and is restricted for on-the-fly generation.
Code Examples:
Ruby-On-Rails:
Cloudinary::Uploader.multi("logo", type:"gif")
Node.JS:
cloudinary.uploader.multi("logo", function(error,result){
console.log(result);
});
The following lines of code will collect all uploaded images on your account that share the 'logo' tag and generate an animated GIF based on it.
A response JSON will be returned containing the URL to be used for delivering the new GIF: http://res.cloudinary.com/demo/image/multi/arrow_animation.gif
Additional information regarding creating animated images can be found in our documentation here and in this blog post.
Comments
0 comments
Please sign in to leave a comment.