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.1.0.tar.gz
(3.0 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.1.0.tar.gz.
File metadata
- Download URL: ImageLayers-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 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 |
ef9f67a33eded531264822021fb858286db5db64c95490143cfe97f8b1b67dbe
|
|
| MD5 |
aef4c7cff1a96a4ca4f05b0fe2471e53
|
|
| BLAKE2b-256 |
918837cc47778b77e61f8cb0ca2b4db6bf50dd4d87c7e99f1647b7059007f128
|
File details
Details for the file ImageLayers-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ImageLayers-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 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 |
e37ff601fc940e6141510bd453dc5cc27c21b63b79d42be2e1e9ecac4628379b
|
|
| MD5 |
9f1e0af308152902d65040e002331c4a
|
|
| BLAKE2b-256 |
cbce04975542d40c36f7d2d1bf742fd74fb9d25d1e0782c8dbbc67a1e1125ba5
|