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?
Copy link to clipboard
Copied
You can do this with an action. Trim the image then resize the canvas.
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.
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?
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.
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.
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 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.