I've tryed to convert a custom shape from a PNG image with photoshop. My picture was 64px * 64px with 32bit (8bit/channel; RGBA image).
I convert it to a grayscale image => 8bit (only 1 channel )
And I saved it to RAW format.
In HxD, I saw my RAW file are similar to a shape file, but his length is 1000, not 800 (in Hexdecimal 1000 is the double of 800)
I think my RAW file use each octet (00 or FF) for one pixel, and need to be convert to be a shape file ( transform the "00 FF FF 00" to "0F F0").
Exemple :
RAW File looks :
Code:
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF 00 00 00 00 00 00 00 00 00 00 FF FF FF
Must convert to Shape :
Code:
FF FF FF FF FF FF FF FF FF F0 00 00 00 00 0F FF
EDIT :
I've tryed to convert my grayscale raw file to an indexed (16 colors).
Now all my octets begin by a 0, must to erase each ones...
EDIT :
Forget all of this shit, not the good format...
Last edited by TUK_Pyroman,