-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smart crop support #48
Comments
Alternative smart crop in libvips: https://gist.github.com/jcupitt/c2792a9b22e4e2544147 It's a slightly different algorithm. Rather than attempting to find the interesting part of an image, all it does is trim the most boring parts (found by estimating image entropy) off the longest axis until the image is square. The idea is that the most common use for smartcrop is to square up images so that you can display a large number of images with different aspect ratios in a nice grid. This is a much simpler problem than trying to find the centre of interest in a picture. |
As of libvips version 8.5.0, there is a "smart crop" feature available. It's based on Sharp's smartcrop, which I think is the same as linked earlier here in the Issue. |
should be closed by #145 |
Smartcrop feature has been shipped in |
https://github.com/muesli/smartcrop
The text was updated successfully, but these errors were encountered: