Re:Smartcrop.js (2014)
by Kudos on Wednesday January 20, 2016 @07:19AM
(#10937544)
I've been using Reddit's smart cropping code[0], which just uses histograms to achieve a similar effect. If you're looking to crop to a thumbnail size it's orders of magnitude more efficient, while avoiding bad cropping on images where the interesting content is off-centre.
[0] https://github.com/reddit/reddit/blob/e152ff6ad9260d243a8d4e...