Skip to main content

PIL plugin for hangar

Project description


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


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.

Files for hangar-pil, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size hangar_pil-0.3.2-py3-none-any.whl (7.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hangar_pil-0.3.2.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page