Is there something unique I need to handle when reading a TIF file?
For example...
IsTransparent := False;
ieBmp := TIEBitmap.Create;
ieBmp.Read(ImgFName);
IsTransparent := ieBmp.HasAlphaChannel;
When I read the attached TIF file, IsTransparent is True;
However, when I pass it to...
ieBmp.RenderToCanvasWithAlpha(ieCnv.GDICanvas, pxTL.X, pxTL.Y, pxWd, pxHt, 0, 0, ieBmp.Width, ieBmp.Height, 255, rfFastLinear, ielNormal, 1);
The background is not transparent. PNG files have been working as expected.
Thank You,
MFM
attach/FELLAFOO/20225363236_8ARMMAR0.TIF