|
|
|
|
|
|
|
Sponsored By


|
|
|
|
|
|

|
|
|
|
|
|
|
Efika 5200B Project
 |
Reggae on Efika
in category Multimedia proposed by Grzegorz Kraszewski on 21st February 2006 (accepted on 20th March 2006)
|
|
|
|
|
|
Blog Entry
|
|
|
|
|
|
|
RLE8 - done.
posted by Grzegorz Kraszewski on 30th January 2007
I've just implemented a RLE8 decompressor for bmp.decoder. What surprised me, it worked from the first try. I've used state machine - my prefferable way of writing parsers. I like it probably because of being electronics engineer by education ;-). It is very effective however. Then I have found some more broken BMP-s in the Internet, this time they had completely bogus values of file size in BMP file header (it should be just equal to file size, is it so difficult to read documentation?...). I've relaxed recognition routine a bit, so it does not drop probability value down to 0 when sizes do not match. Now it just leaves detection probability on 0.2 level (they have magic "BM" anyway), so such broken files are not recognized as Windows icons.
|
|
|
|
|
|