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

image resize with a variable length batch process

Community Beginner ,
Dec 09, 2019 Dec 09, 2019

Is there a way to write a batch that will find the longest edge ethier vertical or horizontal and make it constraid with the longest edge being 2500 px at 300dpi?

TOPICS
Actions and scripting
706
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
Adobe
Community Expert ,
Dec 09, 2019 Dec 09, 2019

Hi,

First set to 2500 px with "Automate / Fit Image ...".

Screen Shot 2019-12-10 at 03.57.51.png

Next, set “Image Size ...” to 300 dpi, and turn off Resample.

Screen Shot 2019-12-10 at 04.06.58.png

Batch process the above as an action.

 

--
Susumu Iwasaki
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 ,
Dec 09, 2019 Dec 09, 2019
LATEST

I also wrote a Photoshop Plug-in that will set a document Resolution  so it longest side will print so many inches in length. so you can record an action step to set a Document's longest side print length to be so many inches.  The Plug-in script record the length into the action step.  The Plug-in is included in my crafting Action package. You can use Fit image first if to want to resample an image so it longest side will be so many pixels.  However, it does not matter how many pixels the longest side has.  If you set the resolution correctly it will print the length you want the image to print.  I do not like resampling an image for it will loose some image quality. You either discard details you have or generate details you do not have if you resample an image. Fit image will resample your image.

 

Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
Contains

Example
Download

 

JJMack
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