PIL plugin for hangar
Project description
hangar_pil
Hangar PIL plugin
hangar_pil provides load
, save
and board_show
methods and supports jpg, jpeg, png, ppm, bmp, pgm, tif, tiff and webp files
installation
pip install hangar_pil
Usage - CLI
Examples here are with minimal options possible, checkout the hangar documentation for all available options
- Importing a directory full of images into hangar. Hangar uses hangar_pil to figure out which file formats are supported by hangar_pil and auto infer plugin at runtime. Note that
--height
and--width
are plugin specific arguments
hangar import aset images_directory --height 299 --width 299
- Exporting: This exports the sample to the current directory
hangar export aset --format jpg --sample sample_name
Usage - programmatically
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
hangar_pil-0.3.0.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file hangar_pil-0.3.0.tar.gz
.
File metadata
- Download URL: hangar_pil-0.3.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3937c688a7be4e4c25b83e141a0eb30e0a00be0c7af44214d0bf6bdb083de305 |
|
MD5 | 15c7d776b5c6c4209c2adfcf55091552 |
|
BLAKE2b-256 | 098c335205c3920c02b1bde56345e220f22aff4895330f5cab0d30daca7de2c0 |
File details
Details for the file hangar_pil-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: hangar_pil-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b22cff1c12863386fbb99073cfd9886380ab6af911900ea89cab49cb373bba |
|
MD5 | e5a66d3ef7d6d44d47753e1663a7ed79 |
|
BLAKE2b-256 | 5e21352f196bdb189fed04fe68613af33b220f16c7f2693f14b8684424b777c3 |