aspose file tools*
The moose likes Java in General and the fly likes Loading images from zip files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Loading images from zip files" Watch "Loading images from zip files" New topic
Author

Loading images from zip files

Jeff Smith
Ranch Hand

Joined: May 04, 2001
Posts: 50
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

Joined: Jul 18, 2000
Posts: 55
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

Joined: May 04, 2001
Posts: 50
Thanks, that's exactly what I needed
Jeff
 
Consider Paul's rocket mass heater.
 
subject: Loading images from zip files