Removing whitespace around converted images from Visio and PPT

We are converting Visio and PPT Source images to BMP/JPEG via the Aspose plugin. There is a lot of whitespace around converted images that are coming from the source. Can the plug-in remove whitespace?

@Camapa10

Thanks for contacting support.

Could you please share your input/output files along with complete code snippet, which you are using to perform conversion. We will test the scenario in our environment and address it accordingly.

Hi, here is link to the requested files:

https://hcpanywhere.hitachivantara.com/u/2tAVyRzQFAPI0BXI/Images_and_Code.zip?l

@Camapa10

Thanks for sharing requested files.

We have tested the scenario in our environment and observed that output PNG was generated as per expectations, because white space was present in the source VSD file. However, as per your requirement of removing white space, we have logged an investigation ticket as DIAGRAMNET-51498 in our issue tracking system. We will investigate feasibility of required feature and keep you posted in case we have some updates. Please be patient and spare us little time.

Concerning to your scenario of Aspose.Slides, we are looking into it and will update you shortly.

@Camapa10,

For your inquiry related to Aspose.Slides, I like to share that it generates the slide thumbnail of complete slides. Later on, when the image is created you can then crop the image to your required dimensions and regions. I suggest you to please visit this Stackoverflow link for your convenience. Other option that you can use is to get shape thumbnail. In your case, if you group all your desired slide shapes together and get the that group shape thumbnail, you will get the desired image.

@Camapa10

We have performed further investigation against logged ticket and found that your requirement can be met by copying and moving shapes to other page. You can then set height/width of page as per your desire and save it as new file. For more information, you may please visit “Working with Shapes” and “Working with Pages” articles in our API documentation.