I am writting a games engine which uses its own image format, simply a TGA file with most of the extras taken out, just left with the size, data and some other information. But i would also like the ability to view this image in a Bitmap and use it with TOpenPictureDialog, but im not really sure where i can put the data in the bitmap?

I read the image data using Blockread and a PChar, can i use this with scanline or something?