I am pretty new in iTextSharp (the C# version of iText):
I have something like this:
System.Drawing.Bitmap bitmap =
There are no overloads that take just a System.Drawing.Image
. You need to used one of these:
GetInstance(System.Drawing.Image image, BaseColor color)
GetInstance(System.Drawing.Image image, BaseColor color, bool forceBW)
GetInstance(System.Drawing.Image image, System.Drawing.Imaging.ImageFormat format)
The first one is probably the best choice and I'm 99% sure you can pass null
for the color
parameter.