Gray border around image after exporting xls to pptx with OLE in MS Power Point 2010 slideshow

Dear Team,

I have some images in excel. When converting this excel to PPTX with OLE if we open the PPTX in slide show there are some gray borders around image.

The images are getting surrounded with some unwanted gray borders.

I checked the emf file generated but it was ok.

Note: This issue can be reproduced in MS Power Point 2010 only not in 2013.

Could you please help us in handling this image gray border issue.

Please find attached the sample java code and excel used, generated ppt, emf files and screenshots highlighting this issue.

Regards,
Sanjeev

Hi Sanjeev,


Thank you for sharing the code and resources.

I have used Aspose.Cells for Java 8.8.3 & Aspose.Slides for Java 16.5.0 to evaluate the presented scenario, and I am able to replicate the said issue on my side. When resultant presentation is viewed in the Slide Show of PowerPoint 2010, some grey borders appear as highlighted in the attached snapshot. These lines do not appear in the Slide Show of PowerPoint 2013 nor the EMF (or PNG) image generated with Aspose.Cells APIs have them (checked with IrfanView & Paint application) so currently I am not sure which API is contributing most to the problem. In order to get the opinion from Aspose.Slides experts on this matter, I am going to move this thread to Aspose.Total support forum.

Attached are my resultant files in an archive for your reference.

Hi Sanjeev,

I have worked with the presentation file shared by you and have been able to observe the issue in slide show. An issue with ID SLIDESJAVA-35526 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

We are sorry for your inconvenience,

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


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

Dear Team,


As suggested by you I tried using Aspose.Slides for java v16.7.0 but still I can see the border around the images in MS PowerPoint 2013 slideshow.

Please find attached the PPTX sample generated and also the screenshot of the issue.

Note: I’m using the same java code which was attached earlier.

Regards,
Sanjeev

Hi Sanjeev,


We are currently working on this issue and will soon share our findings with you for the problem you are facing. We are sorry for the delay incurred.

Hi Sanjeev,


Our product team has investigated the issue on their end. They have tried to reproduce steps made in the presented java code manually in MS PowerPoint:


1) Insert presented Excel file as OLE object into slide.
2) Set presented EMF file “ImageSample-output-1.emf” as background for inserted OLE object.

We have not been able to adjust size of EMF file and OLE object as in the code, so there are some shifts. But the main point is that the result presentation ImageSample-1-pp-manually.pptx have similar grey borders in SlideShow mode as for presentation ImageSample-1-j.pptx created by Slides.Java code.

Compare screenshots:

Also, for testing purpose, I have checked both presentations in MS PP 2007 (slideshow-pp-2007-manually.added.by.pp.png and slideshow-pp-2007-aspose.slides.png).

The result - PP 2007 does not show grey borders too as PP 2013.

So our conclusion is that as grey borders appear only in PP 2010 and does not matter how the presentation is created (by code or manually by PP) - the problem in MS PP 2010 itself, not in our code.

PS: OpenOffice also does not show grey borders for any used presentations.

I hope this will clarify the situation to you.

Many Thanks,