An ImageEncoder for the various versions of the BMP image file format.
Unless specified otherwise by the BMPDecodeParam object passed to the
constructor, Version 3 will be the default version used.
If the image to be encoded has an IndexColorModel and can be encoded
using upto 8 bits per pixel, the image will be written out as a Palette
color image with an appropriate number of bits per pixel.
An ImageEncoder for the JPEG (JFIF) file format.
The common cases of single band grayscale and three or four band RGB images
are handled so as to minimize the amount of information required of the
programmer.