Wooops! Well, I've really screwed that up :( I think I've got the right page
here now. Yes, this is all about image loading content handlers for Java. I'll
update this page as I get some more time.
Please note that this page is about to move to
http://www.vlc.com.au/imageloader/
What are Content Handlers?
Content handlers are a simple mechanism that Java provides us so that we can
customise the handling of data that is defined by URLs (java.net.URL). Using
content handlers allows a simple replacement of the existing implementation (as
these libraries are intended to do) or to allow handling of new types. For
example, you might want to download an audio file and have the data go through
some sort of processing.
Why do I need these?
Well, this simple answer, and the reason we wrote these in the first place, was
that Java's inbuilt loaders sucked - badly. Basically, they took up
4 Times the amount of memory that they should, and the range of support
was very limited. Our applications needed a much greater range of support. Also,
these libs are capable of loading the images in half the time of the standard
versions on most platforms.
An interesting thing to note is that although JDK 1.3 includes a PNG loader it
is still the same woeful crap as the JPEG and GIF loaders. We are still using
these libraries today in our code.
Formats Supported
The following formats are supported by the library:
- GIF (sort of, uses the standard sun loader in a non-standard way)
- JPEG
- PNG (1.0)
- TIFF
- TGA
- BMP
- XPM/XBM
Download
The following variants are available for downloading. If your favoured choice
is not here, please grab the source, compile it up, test it and then send it to
me.
| Type | Zip | TAR.GZ |
| Source | HTTP
FTP | |
| Win32 |
| |
| Solaris |
| |
| HP-UX (10.20) |
| |
[
Homepage
][
J2 Networking
][
Linux
][
Books
][
Java
][
About
]