Feature Request: Please add Padding Crop support
Crop out padding is an excellent feature in the PowerPoint Labs extension—one not available in any other PowerPoint add-on, whether paid or free. I kindly request that you implement this feature in Instrumenta, especially since PowerPoint Labs is no longer being maintained. This functionality is truly valuable. Here's a brief explanation of how it works: Suppose you download a PNG image with a transparent background where the main subject is centered. Even though the background is transparent, there is often extra padding around the subject. This padding can cause alignment and scaling issues when adjusting the image alongside other elements. The Crop out padding feature intelligently crops out this unnecessary space, making resizing and positioning much smoother.
Could you share an example?
Hi @Syed1337, with "padding" do you mean transparent pixels around the image. You want to crop-out those transparent pixels? Given the limitations of VBA I do not think it is possible, unless it's being done with the built-in APIs from Windows. Let me look into it.
https://github.com/user-attachments/assets/bf313222-e32b-4ccd-ae8c-ee31e4eb09a6
Padding.Crop.mp4
Alright i understand. I am not able to download the addon (probably because of my region), could you please try it out with a picture with pure white color (255,255,255)? Maybe a screenshot of a white square, thanks!
Padding.Crop.mp4
Alright i understand. I am not able to download the addon (probably because of my region), could you please try it out with a picture with pure white color (255,255,255)? Maybe a screenshot of a white square, thanks!
It only works with a transparent background. It will not work with colored backgrounds like white or any other color. However, it is a good idea to have a feature that can crop an image based on a specific color, such as white or red.
Padding.Crop.mp4
Alright i understand. I am not able to download the addon (probably because of my region), could you please try it out with a picture with pure white color (255,255,255)? Maybe a screenshot of a white square, thanks!
It only works with a transparent background. It will not work with colored backgrounds like white or any other color. However, it is a good idea to have a feature that can crop an image based on a specific color, such as white or red.
Alright yes its possible i tried it out, i will create a pull request
Hi @Syed1337, this is now available in the latest beta (v1.56). It supports both transparent and non‑transparent backgrounds.
Thanks a lot.
Hi @Syed1337, this is now available in the latest beta (v1.56). It supports both transparent and non‑transparent backgrounds.