stuartj Posted September 20, 2019 Share Posted September 20, 2019 Hello Affinity Re: Affinity Photo 1.7.2 on desktop macOS Sierra 10.12.6 I want to resize some documents from full-size-out-of-the-camera docs to 7.5x5 inches. (in pixel terms I'm starting with a 3888 x2592px image and ending up with 2624 x 1750px) To do this I have gone to Document > Resize document Then I enter a value of 67.5% in one of the size fields, ensuring the constrain aspect ratio is locked. I leave the other options as their defaults i.e. dpi as is and 'resample' checked This works fine for portrait and landscape images on 'individual' images. I get 7.5x5in images with their aspect ratio preserved. But... As I have quite a few, I have tried to set this up as a macro. It will be fine for subsequent images of the same orientation as the one I was using to set up the macro. However the macro doesn't seem to recognise the constrain proportions lock and when applied is changing the orientation of the doc. ie.. if, when setting up the macro, I had a portrait image open when I entered that 67.5% value in the width field: I'll get 5x7.5in portrait document with aspect ratio preserved when the macro is applied as expected. But when applied to a landscape image, I'll get a portrait document with the image distorted (compressed horizontally) to fit. ...and vice versa if I had started with a landscape image when I set up the macro, all landscape images will be fine but the portrait will convert to a landscape and the image distorted (stretched horizontally) to fit. As I said, I only get this behaviour when applying the macro. The above method works fine when performed manually on individual images. Hope that makes sense! This wasn't working either in the previous version of Affinity Photo. I have only recently updated to 1.7.2. Enjoying working with the whole suite of software by the way! thanks stuart Quote Link to comment Share on other sites More sharing options...
Staff Gabe Posted September 23, 2019 Staff Share Posted September 23, 2019 Hi @stuartj, Welcome to the forums. When you record a macro, Document > Resize does not work dynamically. Even if you type 65%, when you press return to apply the value, you will have a Pixel value. That pixel value will be stored in your macro. So, next time when you run that macro, it will resize your document to that fixed value you had when you recorded the macro (3888 x2592px in your case), regardless of the current document size/aspect ratio. Thanks, Gabe. Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted September 23, 2019 Share Posted September 23, 2019 If you're resizing a bunch of images you could do that with File > New Batch Job, without the need for a macro. Or, if all the images are the same size (just different orientations) you could record two macros, one for portrait orientation and one for landscape. 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.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1 Link to comment Share on other sites More sharing options...
HVDB Photography Posted September 23, 2019 Share Posted September 23, 2019 I'm using equations ... see this thread : Quote Affinity Photo 2.3.1 Laptop MSI Prestige PS42 Windows 11 Home 23H2 (Build 22631.3007) - Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz 2.00 GHz - RAM 16,0 GB Link to comment Share on other sites More sharing options...
John Rostron Posted September 24, 2019 Share Posted September 24, 2019 I think my equations-based macro should do what you want. (Follow @HVDB Photography' link.) You would need to create your own macro with your target maximum size. In the second step, you should now use Layer > Rasterise and Trim (new in the latest versions) rather than plain Rasterise. I will repost this macro with this update. John Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050 Link to comment Share on other sites More sharing options...
carl123 Posted September 24, 2019 Share Posted September 24, 2019 8 minutes ago, John Rostron said: I will repost this macro with this update. I don't think that will be necessary The 1.6 macro Rasterise command was supposed to be programmed to be replayed as Rasterise & Trim when used in APhoto 1.7 This was to ensure 1.6 macros (with Rasterise commands) replayed as expected when people upgraded to 1.7 John Rostron 1 Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time. 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.