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.2.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for hangar_pil-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67fae511f786acd0ae0a67b6ad60f2ec809571dd161bb267afccdf792dc17420 |
|
MD5 | 32ea759bcf010dc16bda485c355477a1 |
|
BLAKE2b-256 | 40daff321d893dc64512d1e933b51a8d79c3f67fcd99d0485b6eb5f56c8fc5b6 |