Hello,
We recently purchased Aspose Slides for .Net (currently running version 3.1.1.7) and we run into the following problem:
I have poor results when incorporating images in pptx presentations:
Dim pptImage As ImageEx = _presentationEx.Images.AddImage(Drawing.Image.FromFile("c:\temp\result.png"))
(following some code to place the image on a slide and save the presentation)
The image in the presentation is of poor quality with lots of artefacts (looks like heavy jpg compression).
If I insert the image using powerpoint the quality is perfect.
I tested with three image formats, bmp, png and jpg (with 100% quality). Only with jpg the inserted image was identical to the image inserted directly using powerpoint.
I attached a zip file with the png file and a presentation with two slides. One slide with the file inserted using PowerPoint and a slide with the file inserted using Aspose Slides. The difference should be obvious.
When working with streams (using the Image.FromStream method) results get even more confusing. I stopped investigating after a while.
Seems to me someone should look into this.
Regards,
Caius Caesar
Scanmar