Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

Version published
Weekly downloads
6
decreased by-45.45%
Maintainers
1
Weekly downloads
 
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc