Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Batch resizing different aspect ratios

Explorer ,
Oct 27, 2023 Oct 27, 2023

Hello, I want to resize a batch of images in Photoshop and have the long edge same pixels for both vertical and horizontal images.  I can't find a solution to resize them by “Long Edge” as it is on Lightroom. So if I create an action where I set the height to 2700 pixels (long edge of verticals) all the horizontal ones will be a lot higher in pixels. Is there any workaround?

TOPICS
Actions and scripting
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 27, 2023 Oct 27, 2023

You can record the fit image command into an action with 2700px set for both width and height. This can then be run via the batch command.

 

You also have the same option in the Image Processor script or the add on Image Processor Pro script.

Translate
Adobe
Community Expert ,
Oct 27, 2023 Oct 27, 2023

You can record the fit image command into an action with 2700px set for both width and height. This can then be run via the batch command.

 

You also have the same option in the Image Processor script or the add on Image Processor Pro script.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 27, 2023 Oct 27, 2023

Thanks for the reply, what you mean with fit image command? I can't find it. I'm trying to install image processor Pro without success.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2023 Oct 27, 2023

File > Automate > Fit Image.

 

It's a special script that allows the values entered to be captured by an action recording just like native features are recorded.

 

The standard Image Processor script that ships with Photoshop might be enough for you.

 

Image Processor Pro does require special manual installation from the .zip file (avoid the .zxp method).

 

https://sourceforge.net/projects/ps-scripts/files/Image%20Processor%20Pro/v3_2%20betas/

 

Other alternative scripts:

 

https://github.com/SetTrend/Raw-Image-Converter

 

https://www.marspremedia.com/software/photoshop/batch-multi-save

https://www.marspremedia.com/software/photoshop/batch-web-images

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Picture%20Processor.jsx

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2023 Oct 27, 2023

I should mention that Adobe Camera Raw which can also batch save JPEG and TIFF. Input formats as well.

 

Finally, there are conditional actions where you can run different resizing actions on images that are portrait vs. landscape.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 07, 2023 Nov 07, 2023
LATEST

Worked nicely thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines