This is a BMP pixel table parser, output in CSV format.
It works with BMP file format limited to:
- DIB header version: BITMAPINFOHEADER (see definition here)
- Color depth: 1 / 2 / 4 / 8 / 16 / 24 / 32 (bits per pixel)
- Compression: none
./bmp2csv in.bmp [mode] > out.csv
possible value for mode (optional):
0 - RGBA (default)
1 - BT.601 / SDTV
2 - BT.709 / HDTV