Is a command line tool for crop banners images (flow to export a entire canvas)
$ npm install -g luego-crop-cli
$ luego-crop $src $out --compress --key=$key
$ luego-crop src/ out/
-
$src
is the source directory
-
$out
is the output directory
- Is a flag to enable compression output of all images with TinyPNG.
--key=$key (optional, required only if the --compress flag is passed and the default API Key reach the ratelimit)
- This param set a API Key to use in the compression request for each image