sliceanddice

An image slicing tool supporting lots of options.

Usage no npm install needed!

<script type="module">
  import sliceanddice from 'https://cdn.skypack.dev/sliceanddice';
</script>

README

Slice and Dice

Slice images from the CLI.

Usage

npx sliceanddice

CLI Flags

  • --file=X the image to split
  • --cols=X the number of columns the image has
  • --rows=X the number of rows the image has
  • --skipStart=X the number of images to skip at the beginning
  • --skipEnd=X the number of images to skip at the end
  • --outPrefix=X the prefix for all images (will not prefix files if none specified)
  • --outFolder=X the folder to dump all the images into (defaults to the filename passed in)