In a color editing action, I repeatedly create red frames around my image (PNG with RGB True Color format), each time with higher transparency:
ImageEnView1.AlphaChannel;
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 255);
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 205);
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 155);
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 105);
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 55);
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 5);
ImageEnView1.Update;
As this can be done only with certain image/color formats - is it possible to get automatic feedback from the IEBitmap.Resize method to be informed whether the transparency has been successfully applied to the added frame?