Skip to main content

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

Metadata

Release files for ImageLayers 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ImageLayers 0.4.2
File Size Uploaded
ImageLayers-0.4.2.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ImageLayers 0.4.2
File Interpreter ABI Platform
ImageLayers-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / ImageLayers-0.4.2.tar.gz

Download URL ImageLayers-0.4.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5c2174e02102005f35f979bcf03f34c726a02eec3d05025c1ca0303dedbb8617
BLAKE2b-256 checksum
How to use checksums
61005ca0cd11d28222dc8bc04e88434de770030783a76e6607e49ccf7ff66fde
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ImageLayers-0.4.2-py3-none-any.whl

Download URL ImageLayers-0.4.2-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64a674fb342c038c449bc10ae2f48d21a8fe354964ede4544478eb12c7cc27a6
BLAKE2b-256 checksum
How to use checksums
6ecfd9608fa745df7c37c63354e5537b79c352b970c3c0aa09c1405995c020af
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page