Convert System.Drawing.Image to Aspose.Pdf.Image


#1

How do I convert a System.Drawing.Image object to an Aspose.Pdf.Image object?


#2

Converting System.Drawing.Image to Aspose.Pdf.Image is not supported directly. But you can save the System.Drawing.Image into a memory stream and then put the stream into Aspose.Pdf.Image. You can refer to the example at http://www.aspose.com/wiki/default.aspx/Aspose.Pdf/IntegratingWithAsposeChart.html.