You should probably also use the `packed` pragma on your type since depending on platform and compiler there could be some padding between the fields of your struct. (ex: between signature and size )
- How do I read BMP file header directly to type? HonzsSedlomn
- Re: How do I read BMP file header directly to type? Araq
- Re: How do I read BMP file header directly to type? Parashurama
