You could enhance RLE or PackBits to use 16 bits as an entity. Then it would work for 16 bit graphics as well. The problem is that 16 bit graphics usually have only few pixels with equal color next to each other. This leads to a very bad pack rate, not to say a blow up of the picture. Therefore things like Huffman or LZW exist, to compress high color images. You could look into the zip code for palm (somewhere at sourceforge, iirc) and use this compression library to compress your pictures. The best (if you don't care for lossless) would be probably the use of the JPEG_lib. It comes with source you could rebuild it for palm.

Henk

Bill Andreozzi wrote:
Is my assumption correct:
That both RLE and PackBits won't work for 16bit graphics, since the RGB
triplet is a word not a byte?

Is ScanLine my only option for 16bit graphics? (for native palm)

thanks - bill






--
-------------------------------------------------------------------------
[EMAIL PROTECTED]                                       www.metaviewsoft.de

<A HREF="http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946";>
<IMG SRC="http://user.cs.tu-berlin.de/~jonash/werbung.jpg";></A>
-------------------------------------------------------------------------


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

Reply via email to