zando64 Posted June 8, 2023 Share Posted June 8, 2023 Hello, I have a good amount of images of landscape and portrait orientation that I have resized to have 800 pixels on their longer side. I want to place them on square canvas of 800x800 size, and want to make the canvas colour that is outside of the images to be black. I am struggling with building the macro / batch to achieve that. As a result I want to have a black square containing my image, centered within it. Help? Quote Link to comment Share on other sites More sharing options...
David in Яuislip Posted June 8, 2023 Share Posted June 8, 2023 Try this macro SquareBlackBG.afmacro Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10 Link to comment Share on other sites More sharing options...
zando64 Posted June 8, 2023 Author Share Posted June 8, 2023 David ... just like that - it works like magic! Thanks a lot! Quote Link to comment Share on other sites More sharing options...
v_kyr Posted June 8, 2023 Share Posted June 8, 2023 Once had shown somewhere here in a forum thread an "ImagePadder GUI" Python script which already does all that in a batch/bulk wise manner. - You point just to a directory which contains the images to padd, choose a padding color and it performs the rest. ImagePadderGUI.py Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.