apollo_de Posted August 28, 2018 Share Posted August 28, 2018 Hi, didn't find a solution by searching the forum ... the problem: I've multiple images, for simplicity say two, with different pixel sizes (w x h): 1. 4032 x 3024 px 2. 3600 x 2700 px I want to do a simple batch operation, to just reduce the height to say 1080 px, keeping the aspect ratio. Trying to write a macro failed, because the images differ in size and the menu Document > Resize Document ... > ... doesn't allow to leave one of the Size fields (width/height) unpopulated, so that every image would have a height of 1080 px and an adapted width. Currently one of these two images will always have an unwanted aspect ratio. I'm just wondering because Photoshop Elements has the ability to leave either the width or the height field free and all images are "batch-resized" properly, keeping the correct aspect ratio. I don't want to change Apps all the time ... is there a AP solution, did I miss something? TIA, regards, apollo_de Quote Link to comment Share on other sites More sharing options...
carl123 Posted August 28, 2018 Share Posted August 28, 2018 It can be done in a macro but you don't need one Use... File > New Batch Job Just set the height to 1080 and leave the "A" (Aspect Ratio) setting ticked 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...
apollo_de Posted August 28, 2018 Author Share Posted August 28, 2018 Thanks carl123, I knew that. The idea behind was, that there were far more tasks I wanted to be done by the macro - resizing was just the first part of the procedure ... Didn't want to break the process into parts. Any other ideas welcome ... Cheers, apollo_de Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted August 28, 2018 Share Posted August 28, 2018 Resizing using a macro is very complex, because most methods you'll think of remember the final size of the image you used when creating the macro, and thus it won't work well for images with different sizes. There have been a few complex macros created that can resize images that have different sizes, For example, @carl123 posted this one previously. You can probably find others by searching the Resources forum. But if you can do it via the batch job itself you may have better results and it will be simpler. In any case, I would make that a separate macro, rather than trying to have one macro that does resizing and other actions. Developing and using the macros will be much simpler that way. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
John Rostron Posted August 28, 2018 Share Posted August 28, 2018 If you really need to use a macro to re-size, then you need to use Filter > Distort > Equations. I wrote a macro to resize to a fixed maximum height or width here. You could easily adapt this to your needs. 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...
apollo_de Posted August 28, 2018 Author Share Posted August 28, 2018 Hi John, thanks for the suggestion. I will have a look at that and then decide ... At first glance the suggestion of Walt seems more attempting and an easier way to go to me. Walt has good arguments and a simple solution (carl123 also suggested it): "In any case, I would make that a separate macro, rather than trying to have one macro that does resizing and other actions." I think my request is answered - no further comments needed. I thank all of you for fast and great support! apollo_de Quote 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.