Free Support Forum - aspose.com

Setting DPI for pptx

Hi Team,

We have been using aspose.slides for generating images for ppt files. We would like to set the resolution of the images according to our need. Can you help us understand how?
This is our current code:
ISlide slide = presentation.getSlides().get_Item(pageNumber);
BufferedImage image = slide.getThumbnail(1f, 1f);

@nikithamuvva

At present the requested support is not available in API and a ticket with ID SLIDESJAVA-38186 has been created in our issue tracking system to provide the requested support. However, you can generate the slide thumbnail by setting custom dimension or scaling factor your self at the moment,

Thanks for the reply Mudassir. Any tentative timelines by when can we expect this change?

Thanks,
Swapnil Patil

@SPatil30

This is missing support in API at the moment. We request for your patience and will share the good news with you once the support will be available after investigation. At present, I may not give you any time frame for feature.

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