Created
December 23, 2018 09:28
-
-
Save zsennenga/37bf9470f3f5349768f29d31fcc145aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Struct( | |
"signature" / Const(b"MT\xbe\xef"), | |
"unknown_const_256" / Const(256, Int16ul) * "Probably part of the signature", | |
"header" / Int16ul[18] | |
"palette" / Array( | |
16, | |
Struct( | |
"R" / Int8ul, | |
"G" / Int8ul, | |
"B" / Int8ul, | |
) | |
) * "Identical to a standard bitmap palette, except for the order of the pixels", | |
"pixels" / GreedyRange(Int16ul) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment