express-processimage
express-processimage copied to clipboard
Add smartcrop.js to help with optimal cropping
https://github.com/jwagner/smartcrop.js/
There's also https://github.com/lovell/attention -- and talk about adopting features from it directly in sharp: https://github.com/lovell/sharp/issues/295
Added support for resize=x,y&crop=entropy
and resize=x,y&crop=attention
using the sharp 0.16.0+ feature (https://github.com/lovell/sharp/issues/295).
Released in express-processimage 7.3.0.
I don't know how it compares to smartcrop.js (which would be harder to integrate), but it looks very promising :)