Convert ISlide to PNG

Hi,

I am using Aspose Slides Java version 17.10 and JDK 1.8. How can we convert a Islide object to PNG. It has writeAsSvg but not writeAsPNG.

It has a getThumbnail() with different flavours. Won’t this scale down the original slide? If I created the deck for 960*540 and use getThumbnail(). How can I ensure that byte array returned is of the same resolution via the getThumbnail(). Won’t it scale it down?

@rahul.contiq,

I have observed your comments. I like to inform that it will scale down slide from its original size. You may use GetThumbnail(float scaleX, float scaleY) for custom scaling and also GetThumbnail(Size imageSize) for specify size. Please share feedback if i can help you out more in any other issue of yours.