Hi,
I have iamges in the database.i would like to display them into PDF.
How can i dispaly them.Image1.ImageInfo.File will take only file name.
Dear vvramananet,
Thank you for considering Aspose.
Please refer to Working with Image in the programmer’s guide.
Hi,
Thank you for replay.
I already seen the notes.It shows only the images in the file or URL.
But here images are in databse.It’s DataType is BLOB.
How can i retrieve that data and display.
Dear vvramananet,
Thank you for considering Aspose.
MemoryImage is supported besides file and URL. I think you should load the image into memory and then convert it to PDF. I am not familiar with image in database, but I guess it can be loaded into a bitmap.
Hi,
I had the same problem, I solved it by creating a System.Drawing.Bitmap from the BLOB and then using ImageInfo.OpenType = ImageOpenType.Memory (as explained in the Image guide).
It works like a charm