Essentially in ImageEn you have two bitmaps: - A (generally) 24bit image handling the RGB channels - And optionally, a 1bit or 8bit image handling the alpha (1 bit gives you pixels that are transparent or not transparent. 8bit gives you 0-255 levels of transparency)
Let's say you assign this image to ImageEnView1.IEBitmap:
And you assign this image to ImageEnView1.IEBitmap.AlphaChannel:
The TImageEnView will display it as follows (when the background is set to solid white):
As you can see the black pixels in the alpha are fully transparent, so the white background shows through. The grey pixels are 50% transparent so you get a mix of white background and image pixels. The White pixels are fully opaque so only the image pixels show.
So you see that when working with alpha you must draw to both the image and the alpha channel image. Most ImageEn methods will handle this for you.
If you tell me what you are looking to do, I can give a more specific response.
You need to show me what you are trying to do, but for example let's say you wanted 50% transparent text. You could text out onto the bitmap canvas in the color you want and then text out to the bitmap.alphachannel as 50% gray.
Alternatively, if you have an image with a fuchsia background you want to remove, you can just use: