Genesi Home Home Projects Forums
Login
Username:

Password:

Remember Me
 
[Register an Account]

Developer Programs
i.MX6
i.MX515

Efika 5200B

Search Projects

Google

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.

PowerDeveloper.org: Copyright © 2004-2011, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org. All other names and trademarks used are property of their respective owners. Privacy Policy