Free Support Forum -

Stream image from db into xml file?

hi, i have pulled an image out of my database and would like to put it into an xml file for rendering using aspose.pdf.


but it doesnt seem to recognise the ‘MemoryBmp’ type. as you can see i am trying to dump the base64 binary data into the MemoryData attribute also. is this not a valid thing to do? do i need to save the image to disk and then put the path to the image?

gareth jones

Dear Gareth,

Thank you for considering Aspose.Pdf.

This is not supported in XML. Please refer to Working with Image about how to use memory image.