Shortcuts automation for resizing images

Discuss and share Pixelmator Pro resources such as templates, mockups, and tutorials.
User avatar

2022-12-08 14:57:14

How can I create an automation for correct resizing image to the specific size? I want to automate the process of converting image to the 100x100 size and adding some padding to the sides, so the object is 80px on the longest side, but full image is still 100x100.
I was playing with the Crop and Resize automations but without success.

My current automation:
Image

Desired result:
Image

What I get instead:
Image