1) Create an instance of Bitmap: TBitmap.
2) Set its width and height via Bitmap.Height and Bitmap.Width (byte array dimensions)
3) Use Bitmap.ScanLine[row] to write 4 bytes at a time (1 pixel).
If you provide more details regarding the structure of your array of bytes (e.g. in which order have the pixels have been copied, by scanline?), then I will be able to give you more help.
Main Topics
Browse All Topics





by: imitchiePosted on 2007-11-08 at 16:23:44ID: 20246830
look at the free Graphics32 package. full source code included