Hello,
I am trying to draw a png that has a transparent background on a page using ASP.NET pdf. The transparent pixels come out black. Here is what I'm trying:
_______________________________________________________________________
bmp = new System.Drawing.Bitmap("c:\\Temp\\Bitmap3.png");
var g = (page as PdfPageBase).Graphics;
PdfImage pdfImg = new PdfBitmap(bmp);
g.DrawImage(pdfImg, location.X, location.Y);
_______________________________________________________________________
Do I need to create a PdfImageMask or a PdfColorMask to make this work?
I've been looking at your documentation
here and
here
The attachment contains the png I am working with and the pdf after I've inserted the png on page 8.
Thanks,
Jeff
Temp_65569607.zip