Hi, For the jpeg library, I am using a windows bitmap, which takes a considerable amount of space. Since I am only using 4 colors, RGB and black, I am looking at reducing the size of the bitmap input file. Where and how can I configure the library so it can effectively use a smaller input file for jpeg encoding?

IJG Jpeg Compression input
Started by ●May 10, 2007
Reply by ●May 11, 20072007-05-11
"prune" <sophyan@gmail.com> wrote in message news:1178823401.450289.9800@w5g2000hsg.googlegroups.com...> Hi, > > For the jpeg library, I am using a windows bitmap, which takes a > considerable amount of space. Since I am only using 4 colors, RGB and > black, I am looking at reducing the size of the bitmap input file. > Where and how can I configure the library so it can effectively use a > smaller input file for jpeg encoding?Look into run length encoding - much simpler than jpeg and the information is widely available. With only 4 colours you can use RLE4 which saves even more space.
