wood burning stoves 2.0*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Loading images from zip files" Watch "Loading images from zip files" New topic

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.
Matt Siegel
Ranch Hand

Joined: Jul 18, 2000
Posts: 55
Here's a recent article from Sun's site that may help your cause.
Jeff Smith
Ranch Hand

Joined: May 04, 2001
Posts: 50
Thanks, that's exactly what I needed
I agree. Here's the link: http://aspose.com/file-tools
subject: Loading images from zip files
Similar Threads
Archiving Files in zip files
how does JSP get an image created from a servlet ?
Merged files? (can't think of a better name)
GZipInputStream & ZipInputStream?