Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-exr

An OpenEXR reader and writer for Luce/Base: scanline and tiled images, none/RLE/ZIP/PIZ/PXR24 compression, half and float channels, and Cryptomatte 1.2 layers.

A library written in luce-base. Latest release 0.6.2.

Install#

luc add dymokomi/luce-exr

Documentation#

luce-exr

An OpenEXR reader and writer for Luce/Base: scanline and tiled images, none/RLE/ZIP/PIZ/PXR24 compression, half and float channels, and Cryptomatte 1.2 layers.

Modules

  • exr (exported): probe, decode_chunk and encode over luce-raster's Raster.
  • cryptomatte (exported): Cryptomatte.open(path, layer), extract/extract_ids into a Matte, pick/pick_name, manifests embedded or in sidecars, layer_count/layer_name, and CryptomatteBuilder (weighted samples, save). It moved here from luce-image (2026-09-27): Cryptomatte only exists in EXR.
  • manifest: the bounded JSON object parser for manifests; crypto_hash: MurmurHash3x8632, seed zero, over UTF-8 bytes.

Split out of luce-image on 2026-09-22 so every file format is its own package, like luce-svg and luce-psd. luce-image depends on it for Image.open/save; it depends on luce-raster, luce-compress.

python3 -m venv build/test-env                  # OpenEXR and numpy, for the Psyop fixtures
build/test-env/bin/python -m pip install -r tests/psyop/requirements.txt
luc test     # module tests, the Cryptomatte Luce API, Psyop fixtures against OpenEXR

The Cryptomatte fixtures keep their BSD-3-Clause notice (LICENSES/Cryptomatte.txt); see THIRD_PARTY.md.

Dependencies#

Versions#

0.6.2

Browse source · pack · commit 4963e74c09ca

SHA-256 52986545c562459bc7292324fb5f71bb1d6b799e32a289c15ebfe7c5fdb766be

luce-exr 0.6.2: batch release

0.6.1

Browse source · pack · commit e5821bb92867

SHA-256 140e2b9035928f9a67d53ced132a504b7ee1e43849bf9caa3aaabcfef9777c56

dependencies name no version