Hello,
I want to store monochrome images in TImage class. I have attempted to set Image.Picture.Bitmap.PixelFormat:= pf1bit. Regardless of the pixel format set, values are always stored as 24 bit RGB (it seems like it). At first glance it seems to be not possible because image.Picture.Bitmap.Canvas.Pixels[] always sets and gets TColor.
How can I go about manipulating and displaying 8 bit greyscale and 1 bit monochrome images?
If it is not possible, then how can I use RawImage with ricfGray? Built in documentation didn't help much.
Thank you