Spr

Command Type Size Var. Name Description
2File header code
char1compressedCompression indicator
1
short2nimagesNumber of images in this file
repeat nimages
short2sizeXWidth of the image in pixels
short2sizeYHeight of the image in pixels
if compressed
short2complenLength of the compressed image in bytes
bytescomplenThe image in indexed (256 colors in palette) format with a simple rle-like compression
else
bytessizeX*sizeYThe image in indexed (256 colors in palette) format
end if
end repeat
bytes1024palThe image palette : 256 entries in RGBA format
2style.net