Maybe you can use bits, not bytes to record each pixel of the screen. 320*320/8 = 12.8KBytes.
Other method you can use to reduce the size is this : see if there are repetitions of black or white dots, then save the 0 or 1 of a white or black dot and the number of repetitions. An interesting idea is to use the first bit (0=white, 1=black) and the remaining 7 bits to know how many repetitions are. Of course there are better methods with a smaller compression rate. But the algorithm for this will be very simple. Patricio >I want to use the HI-resolution of Sony's CLIE, but a 320*320 bitmap would >be more than 102400 bytes large. > >Any simple method to smooth it away? > >I hate to divide a picture into several parts. > >Thanks a lot in advance. >-- >Hong Yu > > > >-- >For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ > http://www.hoy.net -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
