We have a new parameter for the /image/resize Robot. It is called
frame and allows you to select a specific frame to use for the operation when you are dealing with animated GIF files.
We got a customer request to optionally remove an animation from a gif. This was possible by e.g. converting it to a
.png, but not while preserving its
Instead of a rudimentary
animated flag, we chose to introduce the
frame property for it. This allows our customers to do much more with animated GIFs, for example extracting thumbnails it.
The default value is
null which means all frames are used (and in their exact order), effectively preserving the animation. You would use
1 for the first frame,
2 for the second and so on.
We have plans to support negative values as well in the future, so you could use
-1 to select the last frame,
-2 to select the last but one, and so on.
Share your Transloadit project to earn $300
We love seeing how our community uses Transloadit. Tweet @transloadit to get your proposal approved, share what you’ve built in the form of a blog post or a tutorial on your website, and earn a $300 Gift certificate of your choice as well as a full year of the Startup Plan, at no cost after you publish.
Follow us on Twitter:Follow @transloadit
We're SO STOKED to announce the Transloadit Community Plan! 🎉🎉🎉 Unlimited uploading, importing and exporting, 5GB of encoding/month, and access to 50 different file conversion features for all.— 🤖 Transloadit (@transloadit) July 2, 2020
Best part? It's free. Forever. 🤑 Find out more https://t.co/zXWLi3Xa0G pic.twitter.com/DlY5xz1mPG