We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Highlight colors not rendered in thumbnails

Hi Aspose Support,



I have the problem that highlighted text is not rendered in the generated thumbnails. Please have a look at the attached test presentation. I used following code to generate a png thumbnail:



public void testThumbnailGeneration() throws Exception{



InputStream pres = TestThumbnailGeneration.class.getResourceAsStream(“highlightColor.pptx”);

PresentationEx presentation = new PresentationEx(pres);

BufferedImage image = presentation.getSlides().get(0).getThumbnail(1f ,1f);

String targetFolderPath = TestThumbnailGeneration.class.getResource("/").getPath();

File targetFolder = new File(targetFolderPath);

ImageIO.write(image, “png”, new File(targetFolder, “highlightColor.png”));



}





thx for your help



Marco

Hi Marco,


I have worked with the presentation file shared by you and have been able to reproduce the issue specified. An issue with ID SLIDESJAVA-33387 has been created in our issue tracking system to further investigate and resolve the issue. I will share the further information with you as soon as it will be resolved.

We are sorry for your inconvenience,

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