Images on computers
Images
If you have a 8-bit monitor, anti-aliasing will look pixelated.
If don't use anti-aliasing, text will look "jaggy".
There is no solution. Best approach: Use a browser-safe color for your text and then anti-alias. The anti-alias won't look real good on a 8-bit monitor, but is better than jaggies.
PICT images cannot be used on the Web! Also, very few Windows applications handlre PICT files.
Can't handle object-oriented artwork. Doesn't support JPEG compression.
TIFF images cannot be used on the Web!
BMP images cannot be used on the Web!
There are currently two varieties of GIF, 87a and 89a. GIF87a supports strictly opaque pixels wheil GIF89a permits some pixels to be transparent.
GIF images _can_ be used on the Web.
The smallest amount of JPEG compression saves more space on disk that any non-JPEG compressions format and still retains the most essential detail form the original image.
JPEG is a cummulative compression scheme which means that it is recompressed every time it is saved in the JPEG format. Each time you save, reopen, and resave a JPEG photo, some damage is done. Thus it is best to only save a JPEG image once.
Note that when you uncompress a JPEG photo you do not recover information. When an image is saved in JPEG format, information is loss and can never be recovered.
Here are two examples of JPEG pictures. The original picture was a PICT. The picture on the left has very little compression. The picture on the right has almost maximum compression. Notice how the quality degrades with increased compression.
When displaying images on these monitors, the browsers are left with 216 colors to display images. Browsers use a particular palette of 216 colors called a browser safe palette.
If the images on your page contain more than 216 colors, or if they contain colors other than the 216 in the browser safe palette (and you're monitor only displays 256 colors), then the browser will try to combine existing colors to reproduce the missing ones. This is called dithering . Results are usually very bad.
Only a problem if someone has a 8-bit monitor.
Often, if you can reduce the number of colors in an image, LZW can compress the image even more.
Problem: LZW is patented, so developers have to pay royalties on software that uses it. This is why PNG was developed.
Problem: GIF images are limited to 256 colors.
If you blur an image, thereby creating even more colors, JPEG compression is often more effective.
Problem: It is lossy compression (see above).
Problem: Compression information takes up a lot of space and is not worth it for smaller images.
Return to John Barr's Home Page
Last Modified: 8 September 2000
THIS PAGE MAINTAINED BY:
John Barr, Ithaca College