Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading images from zip files

 
Jeff Smith
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to create a partially skinnable program and I want to have the images loaded from a zip file. I've read through the classes in the java.util.zip package but I just can't seem to get anything to work. Are there any good examples of how to read an image from a zip file out there? I really don't know what I'm doing wrong; I can get text files from zip files, but not GIF and JPG images???
Any help would be greatly appreciated.
Jeff
 
Matt Siegel
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a recent article from Sun's site that may help your cause.
http://developer.java.sun.com/developer/technicalArticles/Programming/compression/
hth,
Matt
 
Jeff Smith
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that's exactly what I needed
Jeff
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic