Quote: "The word "Gullible" cannot be found in any English Dictionary."
You're RIGHT! But I found a book called Gullible's Travels... I'm going to make a MMORPG based on it
Seriously, Flashing Blade is correct. I did that BitMap Font (Newletter 59 I tink) and went through it fowards, backwards, and that part wasn't so bad - but getting into the Image format, dealing with RGB and the Alpha... Paid off!
You can do some neat things just loading images with an Alpha Channel, but its prety fun to play with them programmatically to.
You should check out the MakeImageFromMemblock thing and MakeMemblockFrom Image.....
format for memblock made this way is:
First Four Bytes (DWORD, Offset 0) : Image Width
Next Four Bytes (DWORD, Offset 4) : Image Height
Next Four Bytes (DWORD, Offset 8) : Image Depth (usually 32)
from there, its a grid of DWORD, therefore each pixel is 4 bytes..
PixelOffset = 12 + ((x + ( Y * Width))*4)
To Get Individual "channels", using that PixelOffset Value:
dbWriteMemblockByte(MemID, PixelOffset+0, Blue);
dbWriteMemblockByte(MemID, PixelOffset+1, Green);
dbWriteMemblockByte(MemID, PixelOffset+2, Red);
dbWriteMemblockByte(MemID, PixelOffset+3, Alpha);
Good Luck!