Convert MOV to GIF in Java

The GIF format has provided a new, interactive way to reach your audience through short animations and video clips. We have previously discussed how you can convert your video files to GIF using Node.JS to increase your outreach opportunities. This API, however, will show you how to perform the same action using Java.

Image for post
Image for post

Our first step is to add a reference to the repository in pom.xml:

Then, we can add a reference to the dependency:

Now, we can call our function, VideoConvertToGif:

With that, you have one more way to reach your audience through online media. You can retrieve your free API Key from the Cloudmersive website. This will give you access to 800 monthly calls across our library of APIs.

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store