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

resizing script

New Here ,
Apr 21, 2009 Apr 21, 2009

Copy link to clipboard

Copied

I am needing a script that will crop all items at a certain size as well as center the object based on what it is an image of. Is this possible?

TOPICS
Actions and scripting

Views

1.4K

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
Advisor ,
Apr 21, 2009 Apr 21, 2009

Copy link to clipboard

Copied

You can do this with an action. Trim the image then resize the canvas.

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
New Here ,
Apr 21, 2009 Apr 21, 2009

Copy link to clipboard

Copied

This doesn't work since the crop has to be made with the item centered in the middle. You have to crop into certain images differently. All images should end up with about half an inch of background showing.

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
Advisor ,
Apr 21, 2009 Apr 21, 2009

Copy link to clipboard

Copied

This doesn't work since the crop has to be made with the item centered in the middle. You have to crop into certain images differently.

If Trim doesn't work, how are you planning on automating the Crop?

All images should end up with about half an inch of background showing.

After the Trim, resizing the canvas will take care of that, won't it?

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
New Here ,
Apr 21, 2009 Apr 21, 2009

Copy link to clipboard

Copied

You can resize the canvas but you wont be able to control the item being centered or how much space gets cut off. The automation of the crop is a huge problem as I'm not sure how to set up what should stay and what should go without actually cropping it.

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
Guide ,
Apr 22, 2009 Apr 22, 2009

Copy link to clipboard

Copied

Are you sure that you are NOT using the "Crop" function? This would always be recorded at a set location or require user interaction to reset the positioning. The "Trim" function automatically cuts down the canvas based on 1 of 3 options colour of top left, colour of bottom right or transparent. With options for which edges to cut. A simple resize canvas after this will have your item centered evenly if you set it to Anchor center.

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
Advisor ,
Apr 22, 2009 Apr 22, 2009

Copy link to clipboard

Copied

LATEST

You can resize the canvas but you wont be able to control the item being centered or how much space gets cut off

The Trim is what you use to crop off everything except the object. The 'centers' the object automatically.

The canvas-resize is to add the any spacing that you want around the object.

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