Warning: This site is under construction, most links will be broken.
Open formats: Flat bitmap (FBM) specification (OLD)
Last modified on Mon, 26th Feb 2007 at 22:42 GMT by zippletFlat bitmap (FBM) specification
-------------------------------
all are x86 endian.
file start:
32-bit int: width
32-bit int: height
32-bit int: mode:
- 0: flat data
- 1: 256 colour palletted
- 2: 65536 colour paletted
if paletted:
32-bit int: palette length
RGB: colour
RGB: colour
...
rest of the file is the actual raw data - either 32bpp raw, 8-bit paletted, or 16-bit paletted.