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
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.0.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for ImageLayers-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f56b52662cd95b9965063e61dd23a656198b28d31cb0247f1c231f7866766c2c |
|
MD5 | a628a790d42757fcd859d582de4c7753 |
|
BLAKE2b-256 | 089578f3a36cb5714388a38d2e73988d20704bad8ea6a9ecc1975c3d0b1af06c |