You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

fastcrop

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastcrop

Fast and smart image cropper

0.1.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

fastcrop

Smart crop large amount of photos and take advantage of Node.js worker threads.

Installation

# install globally
npm install -g fastcrop

# npx
npx fastcrop@latest photo.jpg -s 512x512 --output ./my-dir/

Help


  Fast and smart image cropper

  Usage
    $ fastcrop <input>

  Options
    --dry-run, -d Dry run.
    --size, -s Specify output size.
    --output, -o  Output directory.
    --concurrency, -c Number of concurrency. (default: Infinity)

  Examples
    $ fastcrop photo.jpg -s 512x512 --output ./my-dir/

API

import { cropMultiple, crop } from "fastcrop";

Keywords

crop

FAQs

Package last updated on 19 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts