Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Fast and smart image cropper leverages Node.js worker threads and promise queue.

License

NotificationsYou must be signed in to change notification settings

seanghay/fastcrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Installation

# install globallynpm install -g fastcrop# npxnpx 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";

[8]ページ先頭

©2009-2025 Movatter.jp