Split and process image segments and layers.
Project description
ImageLayers
Installation
There are a variety of ways to install this project.
From Github
$ git clone https://github.com/GrandMoff100/ImageLayers
$ cd ImageLayers
$ python setup.py install
From PyPI
$ pip install imagelayers
Usage
This project provides two classes, ImageLayer, and LayeredImage.
Example
from PIL import Image
with Image.open('image.png') as f:
img = LayeredImage(f)
i = 0
for layer in img.layersbyedge(): # layer is an instance of `ImageLayer`
layer.save(f'layer{i}.png')
i += 1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ImageLayers-0.4.2.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ImageLayers-0.4.2.tar.gz.
File metadata
- Download URL: ImageLayers-0.4.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.8.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c2174e02102005f35f979bcf03f34c726a02eec3d05025c1ca0303dedbb8617
|
|
| MD5 |
7e78915586addd7be23c25f4d54c65fa
|
|
| BLAKE2b-256 |
61005ca0cd11d28222dc8bc04e88434de770030783a76e6607e49ccf7ff66fde
|
File details
Details for the file ImageLayers-0.4.2-py3-none-any.whl.
File metadata
- Download URL: ImageLayers-0.4.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.8.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64a674fb342c038c449bc10ae2f48d21a8fe354964ede4544478eb12c7cc27a6
|
|
| MD5 |
24e011db8d4f6b84a224ded7f2c31527
|
|
| BLAKE2b-256 |
6ecfd9608fa745df7c37c63354e5537b79c352b970c3c0aa09c1405995c020af
|