Skip to content

benevolent-games/batchimage

Repository files navigation

🖼️⚙️ @benev/batchimage

command-line tool for converting and compressing images

  • it reads images from one folder, and outputs copies into another folder.
  • it's recursive, and the output directory will have the same structure.
  • assuming you've installed nodejs, you do it like this:
    npx @benev/batchimage \
      --in "assets" \
      --out "x/assets" \
      --format "webp" \
      --quality "75" \
      --size "800"
  • run npx @benev/batchimage +help for more info.

About

command-line tool to convert and compress images

Resources

License

Stars

Watchers

Forks

Packages

No packages published