Sumesh N R wrote: > thanks for these much reply > here i'm doing program in PalmOs.. > In my application all are 16 bit bitmaps. > While i'm running this program in an 8 bit devise it shows some color > diference. thats why i need one convert program.
So what you are actually looking for is 16-bit to 8-bit (not the other way around) conversion probably with dithering features. Your images are probably in the PNM file format...not BMP. You need to be extremely specific when asking for help on embedded devices. As was mentioned before, ImageMagick may be a good choice as it has support for PNM. However, it will take some tinkering to make it a statically-linked, lightweight library. Even then I don't know how well it will work - if it even will. Instead of doing the conversions during program execution, consider creating two copies of the same image in advance using a program such as Photoshop. The images will consume more space BUT the program will likely run faster. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
