|
320 * 250 = 80,000
80,000 * 3 = 240,000
It's highly likely that you have 3 bytes per pixel, which typically means 1 byte Red, 1 byte Green and 1 byte Blue.
So read 3 bytes, construct a pixel with that RGB value and plot it on screen using whatever graphical API you have to hand.
|