Hi to all.
I don't understand how paint into a TImage component a simple bitmap (8 bit for pixel).
For example:
buf : array [100..100] of byte;
This is a buffer of bytes that represent my image and 1 byte is equal of 1 pixel (black: 0, white: 255).
Please can you post a example for write this image buffer on a Timage component ?!?
...because the Image1.Picture.Bitmap.Canvas.Pixel <--- this accept a TColor.
I must pass only a byte not a TColor.
Thak you in advance.