LinkExchange Member
A simple PNG (Portable Network Graphic) Image Viewer
Requirements
To use this program, you must have a 1.1 or higher version JVM.
Download the code
Click on one of the links below to download the program:
Using the program
To use the program, follow these steps:
- Move the PNGViewer file into its destination directory.
- Run it using this command line:
java -classpath : PNGViewer [image file]
where:
is the full path to the java classes file
distributed with your JVM
is the full path to the PNGViewer file
[image file] is an optional argument to tell the program an
image to load at startup.
Example (this is what I use on my solaris machine):
java -classpath ~/bin/java/lib/classes.zip:~/Java/PNGViewer PNGViewer
NOTE: Java is case-sensitive.
Notes
- The PNGViewer uses the PNGImageProducer by Jason Marshall (Thanks
Jason!). The PNGImageProducer can be found off the
PNG
home page.
- For ease of use, I have bundled a copy of the PNGImageProducer and
related files into the PNGViewer library. But, if you
would like to use your own version of the PNGImageProducer,
list it in your classpath before PNGViewer.
- The bundled PNGImageProducer only handles 8 bit per sample
images. Jason intends to fix this, so keep a watch on his
pages for updates.
License Agreement for PNGViewer
I am granting a license for anyone to use and distribute this program
freely as long as the following conditions are satisfied:
- THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
The author disclaims all warranties expressed or implied for
this program. The author shall not be liable for any outcomes
caused by the use or misuse of this program.
- You may not de-archive the PNGViewer file.
- You may not disassemble, reverse-compile, reverse-assemble,
or alter the files in any manner.
Use of the program indicates your acceptance of the above license
agreement.
To find out more about Java and download a FREE JVM for your machine, see
The Javasoft pages.
Trademark Acknowledgement:
Java is a trademark of Sun Microsystems, Inc.
This utility is brought to you by Neil Aggarwal (neil@anet-dfw.com)