Saving slides as images has a lack of quality

Hey everyone,


i am using the “getThumbnail’” method to save slides as images.

Unfortunately, the quality gets lost a little.

In special, headers and footers.

I attached a file to show you what i am talking about.

When you take a closer look into the header (the tts logo) and footer (unreadable text) you might see what im talking about.

Is there any way to get better results?
Like it was a 1:1 image? Without or with lessest quality deficit?

im looking forward reading from anybody :slight_smile:

With best regards!

Hi Melanie,

Thanks for inquiring Aspose.Slides.

I have observed the thumbnail shared by you and request you to please try using Aspose.Slides for .NET 14.7.0 on your end. If there is still an issue then please share the sample presentation with us along with sample code used. Please share, if I may help you further in this regard.

Many Thanks,

Hey Mudassir,


we are yousing slides for java so far.
We dont have slides for .net. :frowning:

Would you like me to give you the original ppt file?

Hi Melanie,

Thanks for your further elaboration. In case of Java, I request you to please try using Aspose.Slides for Java 14.6.0 on your end. If there is still an issue then please share the source sample presentation with us that we can use on our end to reproduce the issue specified.

Many Thanks,

Hey Mudassir,


we upgraded the slides library, but the result wasn’t any better.

I’d like to prvovide 2 different images,

the first one, was generated with jacob, the java com bridge while the second was created with
aspose slides for java.

I guess you should see the difference between these two images.
Is there any way to get a better result regarding header and footer?

Since something isnt working as i want…


here are two links to the images…

Image created with aspose slides for java

http://abload.de/image.php?img=asposeobfqo.png

Image created with jacob - java com bridge

http://abload.de/image.php?img=jacobluf6e.png

Hi Melanie,


Thank you for the feedback.

Please share the input presentation file with us to further test the issue at our end. We will check it and get back to you soon.

Thanks & Regards,

Hey,


here you go!


Hi Melanie,

Thank you for the template file.

I am able to reproduce your mentioned issue after an initial test. Your issue has been registered in our issue tracking system for further investigation with issue id: SLIDESJAVA-34543. We will notify you via this forum thread once the issue gets resolved.

Thanks & Regards,

Hi Melanie,

Thank you for being patient.

Our development team has further investigated your reported issue and as per their feedback, the header and footer contents in the presentation are EMF images. You can scale the image to get better results. Please see the following sample code in this regard.


//Instantiate a Presentation class that represents the presentation file
Presentation pres = new Presentation(“D:\data\AT-Research-Lab±+Kopie.pptx”);

//Access the first slide
ISlide sld = pres.getSlides().get_Item(0);

//Create a full scale image
BufferedImage image = sld.getThumbnail(2.0f, 2.0f);

//Save the image to disk in JPEG format
try
{
ImageIO.write(image,“jpeg”,new File(“d:\Data\ContentBG_tnail2.jpg”));
}
catch(IOException e){}

Thanks & Regards,

The issues you have found earlier (filed as SLIDESJAVA-34543) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.