+ tga support (untested for color maps)
+ conditional endian convert functions AsLittleEndian/AsBigEndian