That image is good!
The problem is it has the wrong start offset and the colors out of order.
I noticed the freeimage format says "RGBA" while bufferedimage uses "ARGB".
So with my script you would have to put alpha at the end.
This part
If RGBQUAD uses RGBA, it should be { b, a, r, g };
(the r a g b don't actually stand for their correct color values)
Edit:
I just noticed something, the file I decompressed earlier was "blob_anvil", but we're using "hud_anvil".
That's why they were different :p
The problem is it has the wrong start offset and the colors out of order.
I noticed the freeimage format says "RGBA" while bufferedimage uses "ARGB".
So with my script you would have to put alpha at the end.
This part
Code:
RGBQUAD quad = { r, a, g, b };
return quad;
If RGBQUAD uses RGBA, it should be { b, a, r, g };
(the r a g b don't actually stand for their correct color values)
Edit:
I just noticed something, the file I decompressed earlier was "blob_anvil", but we're using "hud_anvil".
That's why they were different :p