Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Stop Gif animation  RSS feed

 
Kejal Shah
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all. I wanted to add gif images to my swing application, but dont want the animation to occur. Is there some way i can achieve it?
Thanks in advance
Kejal
 
Ola gharably
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to change the type of the image to jpg for example
 
Francis Siu
Ranch Hand
Posts: 867
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Kejal
Does the gif contain animation?
If yes, you may need to use some software to remove the animation such as (Adobe PhotoShop)
or try to print screen then cut it to wherever you want.
 
zm khan
Greenhorn
Posts: 9
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This might be a brilliant solution.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!