LeonKershaw Posted July 3, 2021 Posted July 3, 2021 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? Quote 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
LeonKershaw Posted July 3, 2021 Author Posted July 3, 2021 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. Quote 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
walt.farrell Posted July 3, 2021 Posted July 3, 2021 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: Wosven 1 Quote -- 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
LeonKershaw Posted July 3, 2021 Author Posted July 3, 2021 Thankyou, most helpful. Quote 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
walt.farrell Posted July 3, 2021 Posted July 3, 2021 You're welcome. Quote -- 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
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.