Bitmap to Empeg Logo Converter

Converter program to turn 24bit per pixel grayscale bitmap to 4bpp empeg logo. To use it compile the file, add it to your CLASSPATH and then run

> java bmpTo4bpp player-type home-logo car-logo output-file

The first parameter should be either 'empeg' or 'rio' and determines if the
empeg should boot with the empeg graphic/animation or the rio graphic/animation. The second parameter is the home logo. The third parameter is the car logo. The fourth parameter is the output file to create.

All bitmaps must be 24bit, uncompressed, grayscale images. This program will warn you if you try to feed it something else. You can convert other types of images using PhotoShop/Gimp/GraphicConverter/etc. Some software claims 24bit images are really 32bit so try both.

The output file that this creates still needs to be copied to the empeg with download.c from the empeg website. The most excelent FAQ has some info on this process.

Some code derived from javaworld programming sample (see comment in source code).

All other code written by Mike Comb and may be used, modified, and
redistributed by anyone for any reason without prior permission. If modified code is redistributed please either remove the comment block from the top of the source or note that code has been modified from original version. Attributions are appreciated.

AttachmentSize
bmpTo4bpp.java7.94 KB