DrawImage method of PortableDocument class creates empty file

Dnyaneshwar Wadghane 4 years ago 0
I am creating PortableDocumentImage image using byte array from png file, However the pdf document created is empty yet the size of the document is close to the size of the image i am trying to draw.