Skip to main content

Slices an image into its constituent parts

Project description

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 8.1.1 which can be done through:

pip install Pillow==8.1.1

Installation

To install:

pip install slicer

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slicer-img-2.0.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

slicer_img-2.0.1-py3.8.egg (6.9 kB view details)

Uploaded Egg

slicer_img-2.0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file slicer-img-2.0.1.tar.gz.

File metadata

  • Download URL: slicer-img-2.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for slicer-img-2.0.1.tar.gz
Algorithm Hash digest
SHA256 5ae41d89a5d2585701ed0fbe2a37c6b78bd2010779ae20674cef33125360fea2
MD5 cf6f425cbff96718e8f9dc290ca631f3
BLAKE2b-256 43090912bd65f47b5519e0edf3c2644ba301bd84a0cb204d22570bab9f349ea8

See more details on using hashes here.

File details

Details for the file slicer_img-2.0.1-py3.8.egg.

File metadata

  • Download URL: slicer_img-2.0.1-py3.8.egg
  • Upload date:
  • Size: 6.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for slicer_img-2.0.1-py3.8.egg
Algorithm Hash digest
SHA256 b1a946e10091ab1f640aa28808aee1b0f874426c8145d58b8e84cbf7982d8bbe
MD5 8a16173f691981149938266e46b491af
BLAKE2b-256 75183c93880e06cb6439ed2486ce4f67b20d1489a119480d70a016cf129c5fa7

See more details on using hashes here.

File details

Details for the file slicer_img-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: slicer_img-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for slicer_img-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40f0e61f9a89bb568246b139c7c2e14b335c29930102ca4ae9db79e8ad67916d
MD5 7d7f964c46f282accf0889ec61553327
BLAKE2b-256 0ef7bd3b131f4e5fcc0b5a96f67d03ef034a73fe0282360bc71a9ea1d2acc7fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page