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

Bug command “change document size” used in a macro


Recommended Posts

If the command "Change document size" is recorded in a macro and the lock for keep aspect ratio is activated 
and only one value is entered for one side, the following error occurs after the macro has been executed. 
The aspect ratio of the document is not preserved, the document is distorted.

 

The error is that the dimensions of both sides are recorded and when applying the Macro only the two dimensions are used 
and "Maintain side ratio" is ignored. When recording the macros, only the user inputs may be saved and no Bucalculated values. 
The calculation of the second Side length must be done when applying the Marco. Version is 1.9.2.1035 , 
it is reproduceable on new documents.

Link to comment
Share on other sites

Yes, that is the way that macro processing works in Affinity Photo. (And there are other examples, such as using Copy/Paste.)

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

22 minutes ago, erdi12 said:

The way that photoshop proceccing such comands are so as I expected. In Affinty the switch

to look the aspect ratio has in a marco no function, that for me a bug and not a function.

Affinity Photo is not Photoshop, and it works differently.

Resizing in a macro requires use of the Distort filter, using Equations to set the size.

Note that if you're using the macro in a batch job, you an simply use the size boxes in the Batch Job setup; resizing there does not require a macro.

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

On 4/18/2021 at 1:14 PM, walt.farrell said:

Affinity Photo is not Photoshop, and it works differently.

Resizing in a macro requires use of the Distort filter, using Equations to set the size.

Note that if you're using the macro in a batch job, you an simply use the size boxes in the Batch Job setup; resizing there does not require a macro.

 
Is the intention to do a function in Affinity Photo different than in other image processing programs without reaching the standard of this or does Affinity want to do it better?
Of course, you can also change the image size differently, a marco is only comfortable in combination with further steps. And if a photo with a different set ratio is destroyed after using this command, it cannot be used.
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.