RLE is supported under 3.5 ( along with scan line) this is the compression technique 
that is implemented.  Note: there is no absolute mode in their RLE compression so be 
careful.  Your bitmaps may get bigger using compression.  Prior to 3.5 I believe the 
only method of compression was scan line unless I am not mistaken.  TO use RLE 
compression set the compressed flag bit and use the correct tag for compression type I 
believe it is 1 or 2 for RLE and the just store the bitmap data RLE compressed.  Be 
careful with the Row Bytes they can get tricky.

Jason D



-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Kijang Jung
Sent: Sunday, July 23, 2000 1:39 PM
To: Palm Developer Forum
Subject: Algorithm or format of the compressed bitmap

I'm writing a Windows application to generate a PRC file which contains a
series of bitmap resources.
I can create a PRC containing uncompressed bitmaps.
However, I like to create compressed bitmaps to save the transmission time.

Where can I get some document on the compressed bitmap format/algorithm?
Is RLE(run-length encoding) supported on Palm OS 3.5+?
What's encoding/decoding algorithm for OS 3.0 ~ 3.3?

Thanks in advance,

Kijang Jung



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to