View Single Post
Old 04-14-06, 04:54 PM   #12
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Hi, All.
TGA dataBlock structura:
03 00 00 00 - 4 bytes ... dataBlock Type
next
00 00 00 00 - 4 bytes ... dataBlock SubType or variant
next
2C 00 10 00 - 4 bytes ... dataSize or TGA File Size = 1 048 620 bytes
next ... TGA File:
12 bytes TGA header
next
00 02 - 2 bytes ... TGA width = 512 pix
next
00 02 - 2 bytes ... TGA height = 512 pix
next
20 - 1 byte ... TGA Color Depth = 32 bit
next
TGA body
next
2E 00 - End of TGA File

Anvart
Anvart is offline   Reply With Quote