09-05-2005, 03:12 AM
Offset-bytes-description
00-2- Width of picture multiplied by 8
02-2- Height of picture
Then width * height times a color struct depending on the bit depth. Simplest ones:
{ 8bit
04-1- Palette index
}
or
{ 16bit
04-2- Color value in RRRRRGGGGGGBBBBB
}
or
{ 24/32bit
04-3/4- RGB(A) (or (A)RGB if V1c corrected it already)
}
Simple, plain, easy.
00-2- Width of picture multiplied by 8
02-2- Height of picture
Then width * height times a color struct depending on the bit depth. Simplest ones:
{ 8bit
04-1- Palette index
}
or
{ 16bit
04-2- Color value in RRRRRGGGGGGBBBBB
}
or
{ 24/32bit
04-3/4- RGB(A) (or (A)RGB if V1c corrected it already)
}
Simple, plain, easy.