We are using IronPdf 2024.2.2 to generate PDF documents. and need to insert an image to the pdf document, but using AnyBitmap doesn't work:
byte[] binData = Convert.FromBase64String(base64Data);
AnyBitmap image = AnyBitmap.FromBytes(binData);
and we get error :Error inserting image: Image could not be loaded. File format is not supported.
We are using IronPdf 2024.2.2 to generate PDF documents. and need to insert an image to the pdf document, but using AnyBitmap doesn't work: byte[] binData = Convert.FromBase64String(base64Data); AnyBitmap image = AnyBitmap.FromBytes(binData);
and we get error :Error inserting image: Image could not be loaded. File format is not supported.
Any thoughts will be appreciated