Files Formats ============= .TGA (Targa) ------------ (Uncompressed version) * BGRA format (need to swap 1st and 3rd bytes for every pixel) 1 2 3 4 5 6 7 8 9 10 11 12 [0,0,2,0,0,0,0,0,0,0, 0, 0 ] : TGA Header (12 bytes) 2nd_byte x 256 + 1st_byte : TGA width 4th_byte x 256 + 3rd_byte : TGA height 5th_byte : BPP (Bits Per Pixel) (32 or 24 bit) width x height x bytes_per_pixel: Image size