Those resources can be managed like PICC.
Pseudo-Code
magic_number = read(4)
unknow = read(4)
if (magic_number == 0x20525543):
unknow_1 = read(4)
unknow_2 = read(2)
unknow_3 = read(2)
unknow_4 = read(2)
unknow_5 = read(2)
nb_CUR_entry = read(4)
for i in xrange(0, nb_CUR_entry ):
width = read(4)
height = read(4)
is_compressed = read(4)
size = read(4)
data = read(size)
if is_compressed == 1:
data = zlib.decompress(data)
Data is still 16 bits image.Few extracted images :
No comments:
Post a Comment