Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jankeM011

macrumors newbie
Original poster
Dec 2, 2022
3
0
I have been searching and searching, found tons of ways to batch resize however what I need it to do quickly I haven't found EXACTLY how to. I have 20,000 images all different sizes 722x1160, 200x800, 400x1100...etc. I need to have ALL of them fit to exactly 800x1000 but the image to "Fit to frame" the image proportionally (it is ok if there is white space, these are product images). Can anyone help me this? THANK YOU SO MUCH IN ADVANCE- fingers crossed.
 
OK so, question: if an image is 200x800, and you want to resize it to 800x1000, what should the final result be? Do you want it it to be 250x1000, or should it be 800x1000 with white space?
 
Hi ! manuCH - if an image is the 800x1000 with white space would be the end result for all the images. The final file size regardless of the image has to be output exactly at 800x1000 ;) thank you
 
ManucCH, I may have left out one important detail. I am working on maclaptop, and these images are not something I will be on my phone, these are coming from a server. I found something similar for a laptop but ran into the same issue the extra white space I need and the 100% accurate dimensions for the final. Thought I would add one more hurdle LOL.. Im still spinning my wheels. Thanks for your help.
 
The Shortcuts app also exists for the Mac and works exactly the same 😊 didn't have much time to look into it, stay tuned!
 
OK so I've had some fun with the Shortcuts app and coded what you needed. You can download the custom shortcut here from your Mac:

This shortcut will take as an input any amount of images, resize them so that they fit to 800x1000, and if they don't, it pads the remaining space with a white background. It saves them in the "Shortcuts" directory of iCloud Drive (sorry, I didn't find a way to save them somewhere else, except if I make it prompt you for every file where to put it, which would take an endless amount of time) and it names them something like "Originalfilename_resized_DateTime.jpg".

You can customize it by changing the target resolution in the beginning of the shortcut:

Screenshot 2022-12-06 at 21.16.50.png


I hope it helps! Feel free to ask if you have any questions & enjoy.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.