Jump to content
You must now use your email address to sign in [click for more info] ×

How to create a macro to save an image in ratio


Recommended Posts

I have vertical images and horizontal images, and I only want to change the resolution of it all at once.
I simply create a macro with the resolution changed, and when I run a batch job with it, everything ends up as a horizontal image. A vertical image will be stretched horizontally to become a horizontal image.

How can I create a macro that keeps the ratio of vertical images to vertical images and horizontal images to horizontal images?

Link to comment
Share on other sites

5 minutes ago, Pigny said:

How can I create a macro that keeps the ratio of vertical images to vertical images and horizontal images to horizontal images?

You can't, unless you use Affinity Photo 1.6 to do it. There is a bug in Photo 1.7 and later which causes the Resize Document operation to always Resample, as well, and that changes the aspect ratio or dimensions to match the image that you used when recording the macro.

There is a set of macros provided by @John Rostron that he recorded using 1.6 that may do what you want:

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.