iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance(pictureBox1.Image, System.Drawing.Imaging.ImageFormat.Jpeg); doc.Add(png);
ImageSource img = image1.Source; BitmapSource bmp = (BitmapSource)img; iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance(bmp, System.Drawing.Imaging.ImageFormat.Bmp);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)