Bad Image Format
This project is just meant to be a learning experience
All bif files must start with "BIF {width} {height}\n" as the header
The data is an unsigned 32bit integer where the first 8bits are number of pixels this data represents, and the next 24bits are RGB values in 8bits
| no. of pixels | r | g | b | a |
u32 u8 u8 u8 u8
At the end of each row needs to be a newline character
Here is a 10x10 image of red
BIF 10 10
184483840
184483840
184483840
184483840
184483840
184483840
184483840
184483840
184483840
184483840