I have to implement the scan line compression on "Windows" platform to
create a PRC file which, in turn, will be decompressed and displayed on Palm
platform.
I'm familiar with RLE, but I have no idea on the 'scan line compression'. I
code-dumped a compressed bitmap, but I couldn't decode it at all.
Do you happen to know what the scan line compression is?
Jason Davidson <[EMAIL PROTECTED]> wrote in message
news:18450@palm-dev-forum...
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/