We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Inserting Images Dynamically with byte array

Hello Team,
My requirement is to dynamically insert an image into template by using image tag. Image is stored in the database in byte array format. I am fetching the data from database and loading it into xml. Please share some examples/link to existing samples.
<<image [image_expression]>>
A byte array containing an image data



I have observed your requirements and like to share that from Aspose.Imaging perspective, you need to load the image from source. It can be a file or it can be a MemoryStream (fetched byte data from database). Rest on front end, its your own logic to replace any image dynamically.

6 posts were split to a new topic: Dynamic image loading using Aspose.Words for Java