How to do the same crop on a few photos?

Talk about Pixelmator Pro, share tips & tricks, tutorials, and other resources.
User avatar

2022-01-01 02:10:05

I have 5 photos I want to crop the same way. How can I do this?

Say, I have cropped the first photo manually in Pixelmator Pro. - Can I some how "save" the crop info and apply it to a next photo I load into Pixelmator Pro?

I am mainly talking about Pixelmator Pro on Mac, but I do use occasionally Pixelmator on iOS as well, so is there a way for that too?
User avatar

2022-01-01 15:11:05

Not sure if this will help - but under Crop you can tell Pixelmator Pro to "Remember aspect ratio"=Always
Image
User avatar

2022-01-02 00:20:35

@EllenM Thanks. Better than nothing, but really a way to reapply a crop...
User avatar

2022-01-04 11:34:40

by halloleo 2022-01-01 00:10:05 I have 5 photos I want to crop the same way. How can I do this?

Say, I have cropped the first photo manually in Pixelmator Pro. - Can I some how "save" the crop info and apply it to a next photo I load into Pixelmator Pro?

I am mainly talking about Pixelmator Pro on Mac, but I do use occasionally Pixelmator on iOS as well, so is there a way for that too?
Do these photos you want to crop have identical dimensions? If so, you could create a script to automate the cropping quite easily.
User avatar

2022-01-04 12:03:08

by Aurelija 2022-01-04 11:36:06
Do these photos you want to crop have identical dimensions? If so, you could create a script to automate the cropping quite easily.
Yes, they have the same pixel dimensions. How can the script access the last crop I did?
User avatar

2022-01-04 12:44:46

by halloleo 2022-01-04 12:03:30
Yes, they have the same pixel dimensions. How can the script access the last crop I did?
Gotcha! A script can't directly get that information from your image, but you can tell the script where exactly in your image you want to place the crop box and what size should it be and crop multiple photos this way. In Script Editor, you can write the following:
tell application "Pixelmator Pro"
	activate
	tell the front document
		draw selection bounds {850, 700, 2000, 2000}
		set selectionBounds to selection bounds
		crop bounds selectionBounds with hide
	end tell
end tell
For instance, to create a crop box whose top left corner is at 500 pixels down and 600 pixels across with a size of 1000 by 1000 pixels, you'd want to change the selection bounds' values to {500, 600, 1000, 1000}.

I've chosen to crop the image based on a selection because it's easier to find the position and size of the selection this way. You'd simply want to select the Arrange tool to do this:

Image

The method may not be the quickest to set up, but if you're cropping multiple images the same way, it should definitely help save a few minutes.
User avatar

2022-01-04 13:25:10

Pretty cumbersome, but better than nothing Thanks for the tip with the Arrange tool!
User avatar

2022-01-04 13:54:53

No problem, hope it helps.