Performance of ImageStream

Hi there,

I'm using Aspose.Pdf to write images to a section in a PDF. I have two images, which I can add from disk (using the ImageInfo.File property) in about 0.4 seconds.

When I load the same two images into streams and use the ImageInfo.Stream property, the process takes over 16 times longer to complete.

Is there a reason for this inefficiency?

Hi,

Thank you for considering Aspose.

This is a known bug. We will try to fix it soon. Which type of image are you using?