TomBe Posted November 24, 2018 Share Posted November 24, 2018 I'm very new to Affinity Photo so am getting to know where it really shines and where it falls short. By no means was I adept at Photoshop, but I found it essential for recording Actions. Unfortunately I've run into some issues using Affinity Photo's Macros in Batch jobs. The main one being that if I have a folder full of images that are in different aspect ratios (3:2, 4:3) it seems I am unable to record a Macro that resizes to a specific width or height ONLY. When I record a Macro and resize a 4:3 file to say 800px wide, with the size locked the height of course becomes 600px. If I run that Macro as a Batch on the folder of mixed aspect ratio images, the images that are in 3:2 ratio are resized to 800px x 600px, so they're badly distorted. So the Macro records the dimensions of BOTH edges when the resizing takes place, rather than only the edge you actually edit (as is the case in Photoshop). Is there an obvious solution to this that I am missing? Quote Link to comment Share on other sites More sharing options...
Paolo192 Posted November 24, 2018 Share Posted November 24, 2018 Good question, I have the same problem! Quote Link to comment Share on other sites More sharing options...
HVDB Photography Posted November 24, 2018 Share Posted November 24, 2018 Did you try File > New Batch Job TomBe and firstdefence 2 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...
TomBe Posted November 24, 2018 Author Share Posted November 24, 2018 2 minutes ago, HVDB Photography said: Did you try File > New Batch Job I did not, but I suspect that'll do the job – thanks! I just presumed that the Macro would need to be where the resizing takes place, but this does look like the solution. I'll report back... Quote Link to comment Share on other sites More sharing options...
TomBe Posted November 25, 2018 Author Share Posted November 25, 2018 The solution posted above by HVDB Photography does indeed work, but what this option doesn't allow for is changing the dpi at the same time as doing the resizing (ie changing a full resolution 300dpi file to a 800px wide 72dpi file). A Macro doesn't allow for this either as the same issue arrises as per my original post in that the new dimensions that are the result of changing the dpi become a step in the Macro, which prevents the Macro from being useable for a Batch that involves images of differing aspect ratios. To achieve what I wanted to this evening I had to use a combination of a Photoshop Action to resize to 72dpi, and then the Batch job in Affinity Photo to resize a folder of mixed aspect ratio images to 80px wide. Not ideal, but it'll do for now. If there's a solution for these issues in Affinity Photo I would love to hear them. If not, I'd like to think these issues could be addressed in an update. Do Serif monitor these threads for suggestions and ideas as to how they can improve their product, or do we have to go somewhere to specifically put forth our suggestions? Quote Link to comment Share on other sites More sharing options...
carl123 Posted November 25, 2018 Share Posted November 25, 2018 Create a macro that just changes the DPI to 72dpi (with resample set to off/unticked) In the New batch Job screen set your width to 800px. IMPORTANT: Click the "more" button and untick Embed Metadata Add your macro to the New Batch Job screen and run the batch job firstdefence, TomBe and John Rostron 3 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...
nilsdecker Posted September 9, 2019 Share Posted September 9, 2019 On 11/25/2018 at 1:07 AM, carl123 said: Create a macro that just changes the DPI to 72dpi (with resample set to off/unticked) In the New batch Job screen set your width to 800px. IMPORTANT: Click the "more" button and untick Embed Metadata Add your macro to the New Batch Job screen and run the batch job So I am 95% sure that you are giving the answer I've been looking for for ages, I'm 99% sure I'm doing it correctly, but still my images turn out skewed, sometimes. Interestingly, it's also random (i.e. not all landscape images are stretched, just some are). Any pointers as to what might be the reason? Attaching two photos from the same batch job for reference Quote Link to comment Share on other sites More sharing options...
nilsdecker Posted September 9, 2019 Share Posted September 9, 2019 PS: just for clarification, when creating the macro I DID untick "resampling" and when running the batch job I DID untick "embed metadata". Quote Link to comment Share on other sites More sharing options...
carl123 Posted September 10, 2019 Share Posted September 10, 2019 If it happens consistently with specific images you need to upload a couple of them for testing, also please specify what settings you are using in the New Batch Job screen and include your macro There have been lots of updates in the last year so maybe something has changed in the way it works 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...
HVDB Photography Posted September 10, 2019 Share Posted September 10, 2019 The 72 DPI Web Resolution Myth Read this first .... https://www.photoshopessentials.com/essentials/the-72-ppi-web-resolution-myth/ You'll 'need to create a macro using equations, see this thread I created my own. See attachment Give it a try .. Resize Document to a Fixed Maximum Size .afmacros 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...
cleay Posted August 16, 2022 Share Posted August 16, 2022 Just saw this topic on a bug that dates from 2018. I ran into the same issue today: Concerning that it hasn't been addressed yet. Looks like I'll have to dust off photoshop... Quote Link to comment Share on other sites More sharing options...
John Rostron Posted August 17, 2022 Share Posted August 17, 2022 There was a bug in reccording changing dpi in versions after 1.6. I produced a set of macros recorded in version 1.6 which do work OK in later versions. See this thread on Change dpi macros. Here is the the Macro Library: Change DPI 1.6.afmacros John Quote Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630 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.