|
Netscape
Navigator seems to have a problem when a Java applet draws a GIF image which
uses a color pallet that does not match the Navigator standard pallet. In this
case, Navigator dithers the colors in the image to match its standard pallet.
If
the Java applet first performs some image processing on the GIF image, then the
image is displayed correctly. However, if the unprocessed image is drawn, then
it is dithered.
A way to get around this problem is to use a JPEG image
in a case where an image is not to be processed before being drawn. The drawback
to this approach is that JPEG images can be larger than GIF images (depending on
a number of factors), and that JPEG images may not be as detailed as GIF images
(depending on compression).
When creating your button bar, we suggest
that you first try using whatever image file format is smaller, then replace a
GIF with a JPEG if it does not look acceptable in Netscape Navigator. |