Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is there any way to automate cropping images on Mac? (Not the whole file, but part of the file.)

I've tried this with Automator but the cropping function just makes the whole image smaller instead of chopping the part that I don't want off of the image.

share|improve this question
    
you should accept nuc answer –  diimdeep Jul 6 '13 at 6:28

2 Answers 2

If you have Xcode installed, you could download and compile and install (via Automator's import menu) Convert Images to Letterbox Format (completed) from Apple's developer library. That action crops without resizing. Look for the "Download Sample Code" at the top-left of the linked page

share|improve this answer

You may use ImageMagick in order to crop from command line. That way you may include the command inside an Applescript, or call the command directly from terminal.

You can install it following these instructions and then you crop all images inside a folder, given:

convert '*.jpg' -crop 120x120+10+5 thumbnail%03d.png

where 120x120 is the resulting size and 10+5 is the offset (10 pixels width and 5 pixels height).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.