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

Batch crop for e commerce

New Here ,
Aug 07, 2024 Aug 07, 2024

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.

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

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

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);

 

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

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