Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Slices an image into its constituent parts

License

fl1ghtly/slicer

Repository files navigation

GitHub release (latest by date) PyPI - Downloads GitHub

Description

This script takes images and uses transparent pixel grids in order to seperate each object into smaller files. A test image is included in order to see how this script works.

Requirements

This package needs Pillow which can be done through:

pip install Pillow

Installation

To install:

pip install slicer-img

Usage

cd {main folder}
slice {path to image file} {format}

Examples

Uses test.png and outputs in default png format

slice test.png

To specify a different format, type the format like below

slice test.png jpg

This format works too

slice test.png .jpg

About

Slices an image into its constituent parts

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages