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

Batch crop for e commerce

New Here ,
Aug 07, 2024 Aug 07, 2024

Copy link to clipboard

Copied

Hello, Is there any action that I can crop ecommerce photos at the same point?

Actually I need to have at all the pictures the same distance at the top and the bottom. 

The background is white in all of them. 

Because there are more than 100 in any case I need an automate way.

Views

53

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
Adobe
Community Expert ,
Aug 07, 2024 Aug 07, 2024

Copy link to clipboard

Copied

in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



<"moved from cc desktop">

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
LEGEND ,
Aug 07, 2024 Aug 07, 2024

Copy link to clipboard

Copied

This should get you started.

var myDoc = app.activeDocument;
preferences.rulerUnits = Units.PIXELS;
myDoc.trim();
var h = myDoc.height;
var w = myDoc.width;
h = h + 200;
w = w + 200;
myDoc.resizeCanvas(w, h);

 

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 ,
Aug 07, 2024 Aug 07, 2024

Copy link to clipboard

Copied

LATEST

Either an action or script can likely automate this task.

 

You mentioned the top and bottom distance, but not the sides.

 

A lot depends on the images, so it's hard to comment without seeing what you're dealing with.

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