Slide Thumbnail Creation in Java Does Not Work Correctly on Some SmartArt Objects

Hello,

The SmartArt that I am having problem with is: Vertical Picture Accent List. When I try to get the thumbnail I found 2 issues:

  • the right side of the shape where you enter text has a pointed end. It should be square end.
  • the image appears to be zoomed in.

To reproduce:

  • Create a PowerPoint presentation and add a SmartArt type Vertical Picture Accent List
  • Add a pictures for each of the three circles. My pictures are JPG of size around 500x400. I tried PNG as well with the same result.
  • Apply SmartArt style that uses bevel, such as Intense Effect, Inset
  • Call shape.getThumbnail() to get BufferedImage and use ImageIO.write() to save it to a file.
  • The thumbnail images are as described above.

Can you let me know if this is an issue or there is something I can do to get the correct thumbnail image?

I am using Aspose Slides Java 22.6

Thank you!

@raungnaing,
Thank you for describing the issue.

There were many updates after version 22.6. Please check your results using the latest version of Aspose.Slides for Java if it is possible. If the issue persists, please share the following files and information:

  • input files (if you used them)
  • code example that reproduces the problem
  • output presentation and images
  • OS version on which the code was executed
  • JDK version in your app

You can zip the files and upload an archive here.

I upgraded to 23.4 and it’s working now. Thank you very much.

@raungnaing,
Thank you for using Aspose.Slides.