Project 4 : XBM Viewer Applet & Compressed XBM Viewer Applet
Course:
Data Compression and Reliability in Multimedia (CIS651)
Programmer: Chaiporn Jaikaeo,
Thitiwan Srinark
Due Date: May 19, 1999
Task #1 : XBM Viewer Applet
This task is to read a file from a URL connection which is specified by the
parameter 'XbmFile' in an HTML file. This file is expected to be an .xbm (X
Bitmap) image file. The input file then will be parsed and displayed on the
browser.
Example 1
Input file:
xlogo16.xbm
Output:
Example 2
Input file:
amer2.xbm
Output:
Example 3
Input file:
tank.xbm
Output:
Task #2 : Compressed XBM Viewer Applet
This task is to read a file from a URL connection which is specified by the
parameter 'CompressedXbmFile' in an HTML file. This file is expected to be
an .xbm (X Bitmap) image file which has been compressed with the LZW
compression algorithm. The input file then will be decompressed, parsed and
displayed on the browser.
Example 1
Input file:
xlogo16.xbm.ALZW
Original file size: 271 bytes
Compressed file size: 348 bytes
Output:
Example 2
Input file:
amer2.xbm.ALZW
Original file size: 19678 bytes
Compressed file size: 6652 bytes
Output:
Example 3
Input file:
tank.xbm.ALZW
Original file size: 42130 bytes
Compressed file size: 12820 bytes
Output:
Example 4
Input file:
test.for.class.xbm.ALZW
Original file size: 21861 bytes
Compressed file size: 5880 bytes
Output: