Jump to content

Recommended Posts

Posted

I open a document which first needs to be rotated by 90 degrees clockwise, which I do.
I then run a macro I created to change the DPI to 300 & that works fine.
However, if I run the same macro before rotating the document it changes the DPI to 300 but fails to untick the resample box resulting in a stretched image.
Why is this?

O/S: Windows 10 Home 21H1
Desktop. Processor: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz 4.00 GHz. Ram: 16GB
GPU: NVIDIA GeForce GTX 970
S/W: Affinity Photo. Adobe Lightroom. Adobe Bridge

Posted

Investigating further it appears to depend on which orientation the document was in when I created the macro!

Surely this is wrong. The macro should surely perform such a simple operation regardless of which orientation the document was in to begin with.

O/S: Windows 10 Home 21H1
Desktop. Processor: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz 4.00 GHz. Ram: 16GB
GPU: NVIDIA GeForce GTX 970
S/W: Affinity Photo. Adobe Lightroom. Adobe Bridge

Posted

Macros created in 1.7 or later cannot change DPI without resampling due to a bug that is not yet fixed.

And I believe that macros have always, when resampling, used the image dimensions (or possibly aspect ratio) at the time they were recorded. There have been feature requests to enhance this.

Thus, your macro will resample, and if the dimensions or aspect ratio are different from when the macro was recorded, it cannot work as you want it to.

You can find an Affinity Photo 1.6 macro to change DPI in the topic I have linked below:

 

-- 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 18.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

Posted

Thankyou, most helpful.

O/S: Windows 10 Home 21H1
Desktop. Processor: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz 4.00 GHz. Ram: 16GB
GPU: NVIDIA GeForce GTX 970
S/W: Affinity Photo. Adobe Lightroom. Adobe Bridge

Posted

You're welcome.

-- 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 18.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

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.