This is a simple MacOSX Automator Action for cropping image in high quality, the idea is to replace the builtin "crop image" action which doesn't let select image quality. It only generates jpg files. It was created in Objective-C.
- Download Crop Image HQ.action
- open Automator
- go to the menu
File > import actions
and select the file.
### Usage
The action will be under the Photos category as "Crop image HQ". I use it as a service for quick image edition.
Inputs:
- width and height inputs.
- 4 scale modes:
No scale
: it crops the center rect with the desired dimension, no scaling.scale to width
: it scales the image to the width and then crops.scale to height
: it scales the image to the height and then crops.scale to biggest side
: it scales the image so it occupies the biggest side of the desired dimension.
- Quality slider: range from 0.4 to 1.0 jpg quality ( 40 - 100 %)
if the specified width or height is longer than the actual image size, it will leave the side as it is , no black or extra region is added.
The icon is borrowed from the imageoptim, this is a small tribute for a great and useful app https://imageoptim.com/.
LM.