• Post Reply Bookmark Topic Watch Topic
  • New Topic

Loading Image

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, what's the best library to use image strips (.gif or whatever) in java? Because I'm gonna use image strips I need to be able to make a mask.Is this achievable with gif image? Or just bitmaps? Thanks!
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can read a gif file using ImageIO.read, and given a BufferedImage, you can
obtain a subimage by calling getSubimage:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!