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

Equal borders for non square images of different sizes.

New Here ,
Feb 19, 2025 Feb 19, 2025

Copy link to clipboard

Copied

Hello, I need to create a border on many (over a thousand) images of different pixel sizes.  Most of the images are not square.  The borders need to appear relatively proportional regardless of how big or small the image size is.  Using an action that increases (relative) canvas size by percentage creates borders of the same proportion, but on images that are not square, the x and y borders are different sizes. (insert sad face here).  Is there a way to do this in photoshop I am not aware of that works on non square images?  There is an old post on this forum that asks this question, (https://community.adobe.com/t5/photoshop-ecosystem-discussions/need-action-that-makes-an-equal-sized...) and (https://community.adobe.com/t5/photoshop-ecosystem-discussions/action-that-uses-a-percentage-of-imag...) but the answers involve scripting and honestly I did not understand... Thank you in advance.

TOPICS
macOS

Views

41

Translate

Translate

Report

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 ,
Feb 19, 2025 Feb 19, 2025

Copy link to clipboard

Copied

If I understand your question correctly, the answer involves scripts, as actions have limitations. From what I gather, you want equal-sized borders based on a certain percentage of (here's the question: what? Width or height?) for any image dimension. It might be possible to achieve this using actions, but I'm not aware of that possibility. My recommendation is to wait for scripters to respond to this thread.
@c.pfaffenbichler @Stephen Marsh @r-bin 

Votes

Translate

Translate

Report

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 ,
Feb 19, 2025 Feb 19, 2025

Copy link to clipboard

Copied

Please provide a couple of meaningful examples (source-image and resulting-image). 

Votes

Translate

Translate

Report

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 ,
Feb 20, 2025 Feb 20, 2025

Copy link to clipboard

Copied

LATEST
quote

...but the answers involve scripting and honestly I did not understand... Thank you in advance.


By ipanema451

 

Full instructions for saving and running scripts were provided in links to my blog.

 

  1. Copy the code text to the clipboard
  2. Open a new blank file in a plain-text editor (not in a word processor)
  3. Paste the code in
  4. Save as a plain text format file – .txt
  5. Rename the saved file extension from .txt to .jsx
  6. Install or browse to the .jsx file to run (see below)
    https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

 

Or If you prefer videos over text:
https://www.marspremedia.com/software/how-to-adobe-cc

Votes

Translate

Translate

Report

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