Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 517 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 517 Bytes

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)