Top-rated recipes tagged "rle"http://code.activestate.com/recipes/tags/rle/top/2010-08-31T00:36:20-07:00ActiveState Code RecipesBI_RLE Decoder (Python)
2010-08-31T00:36:20-07:00Baris Yukselhttp://code.activestate.com/recipes/users/4174774/http://code.activestate.com/recipes/577379-bi_rle-decoder/
<p style="color: grey">
Python
recipe 577379
by <a href="/recipes/users/4174774/">Baris Yuksel</a>
(<a href="/recipes/tags/bitmap/">bitmap</a>, <a href="/recipes/tags/rle/">rle</a>).
</p>
<p>Hi everyone,
This script can decode 4-Bit ( 16-Color ) and 8-Bit ( 256-Color ) Windows BMP files encoded with BI_RLE compression algorithm. However, I haven't got acceptable compressed BMP files ( row,column,zigzag etc. ), i could not try move offset marker data of BI_RLE. </p>
<p>I'm waiting your comments for better solutions.</p>