hydrax.image#
Provides colorspace-aware utilities for loading and processing images with Pillow (PIL).
The primary entry-point to this module is open_srgb().
Tip
You can ensure this module has its dependencies by installing hydrax with the “image” extra via
pip install hydrax[image,...].
| Perceptual colorspace conversion intent with  | |
| Relative colorimetric colorspace conversion intent with  | 
| Dtype-agnostic coefficients for image representation and colorspace conversion. | 
| Converts an image data array in balanced  | |
| Converts an image data array in balanced  | |
| Converts an image data array in fractional  | |
| Converts an image data array in fractional  | |
| Converts an image data array in fractional  | |
| Converts an image data array in fractional  | |
| Converts an image data array in fractional  | |
| Converts an image data array in fractional  | |
| Creates a PIL image from sRGB image data in the HWC format, using the specified coefficients for byte conversion. | |
| Opens an image using PIL and ensures it is in the sRGB colorspace. | |
| Sets the PIL decompression bomb threshold. | |
| Writes a PIL image or HWC image data array to the specified NumPy array with shape CHW. | |
| Writes a PIL image or HWC image data array to the specified NumPy array with shape HWC. |