Releases: GMartigny/crop-node
Releases · GMartigny/crop-node
v2.1.0
ESM
Since this version, crop-node
is using ESM module declaration. This means you either have to use node@^13.7.0 or esm
.
The detect-only
options is deprecated in favor of the package detect-edges
.
The input can now be a either a path to an image (old behavior) or a tainted canvas.
First release
Naive search for the first non-transparent pixel on all sides. Support 2 output format (png and jpg) and can only detect edges (return the number of transparent pixels on each sides).