• Post Reply Bookmark Topic Watch Topic
  • New Topic

Resize a Animated GIF file in Java  RSS feed

 
Santhana Arunkumar
Greenhorn
Posts: 5
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

Is it possible to resize a Animated GIF in Java , without losing its Animation ? I tried various options and API's like Jmagic, still after Resize after re-sizing the animation is gone!

 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ImageJ library can be used to do that, although I couldn't tell you the exact order of steps. Probably opening the GIF as a stack of images, then resizing the stack (or possibly all images of the stack individually, I'm not sure), and then saving the stack as an animated GIF.

If you want to go that route, start by figuring out how to perform these steps manually in the ImageJ application, then it should be clearer how to do it programmatically.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!