Skip to content

Images directory bunch processing CLI, based on image.rs but with tokio it works extremely fast processing images in parallel. Perfomance here is the main goal.

Notifications You must be signed in to change notification settings

Miezhiko/buncher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buncher

images (and maybe videos) directory bunch parallel processing, supporting zips

AboutNotes

mawa Discord Twitter Follow

About

Usage: buncher.exe [OPTIONS] --directory <DIRECTORY>

Options:
  -d, --directory <DIRECTORY>    Source directory
  -o, --output <OUTPUT>          Output directory
  -c, --clean                    Remove duplicates
  -s, --separate-videos          Separate videos to different directory
      --additional <ADDITIONAL>  Additional operations
      --flip                     Flip images
      --mirror                   Mirror images
      --invert                   Invert images
      --grayscale                Grayscale images
      --png                      Store as png instead of jpg
      --blur <BLUR>              Blur images
      --brighten <BRIGHTEN>      Brighten images
      --hue <HUE>                Tune huerotate of images
      --rotate <ROTATE>          Rotate images
      --thumbnail <THUMBNAIL>    Thumbnail images
      --resize <RESIZE>          Resize images
  -i, --ignore <IGNORE>          Ignore image by name mask
      --library                  Restructure local library
  -h, --help                     Print help
  -V, --version                  Print version

for example:

buncher> cargo run --release -- --directory input --output output --grayscale --clean --ignore my
   Compiling buncher v0.3.7 (buncher)
    Finished release [optimized] target(s) in 54.44s
     Running `target/release/buncher --directory input --output output --grayscale --clean --ignore my`
▪▪▪▪▪ Done, removed 67 duplicates
processing videos
  [00:00:00] [████████████████████████████████████████] (152/152, 100%, ETA 0s)
processing images
⠒ [00:02:32] [██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] (182/2928, 6%, ETA 41m)    

RESIZE example is (64,64)

possible ROTATE variants are 90, 180, 270

About

Images directory bunch processing CLI, based on image.rs but with tokio it works extremely fast processing images in parallel. Perfomance here is the main goal.

Topics

Resources

Stars

Watchers

Forks