Skip to main content

Simple NumPy-first OpenColorIO Tone-mapping Toolkit

Project description

simple-ocio

Simplify OpenColorIO Usage for Tone-Mapping

Examples

AgX Filmic Khronos PBR Neutral Standard
AgX Filmic PBR Neutral Standard

All examples generated from the same HDR input image using different OCIO view transforms. See example.py for the code.

Installation

pip install simple-ocio

Usage

tone_mapper = simple_ocio.ToneMapper()
ldr_img = tone_mapper.hdr_to_ldr(hdr_img)

# If you want to specify a tonemapper
tone_mapper.view = "AgX"
# Check the full list of available tonemappers
print(tone_mapper.available_views)
# Available ones: 'Standard', 'Khronos PBR Neutral', 'AgX', 'Filmic', 'Filmic Log', 'False Color', 'Raw'

Third‑Party Licenses and Notices

This package redistributes the complete Blender Color Management (OpenColorIO) directory, including Filmic, AgX, and supporting LUTs. Each configuration keeps its original license. No functional changes have been made except relocating the files into the simple_ocio/ocio_data package directory. The full license text is available at simple_ocio/ocio_data/ocio-license.txt as well as the header of them.

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

simple_ocio-0.1.0.tar.gz (7.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_ocio-0.1.0-py3-none-any.whl (7.1 MB view details)

Uploaded Python 3

File details

Details for the file simple_ocio-0.1.0.tar.gz.

File metadata

  • Download URL: simple_ocio-0.1.0.tar.gz
  • Upload date:
  • Size: 7.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.2 tqdm/4.66.5 importlib-metadata/8.2.0 keyring/25.6.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.11.9

File hashes

Hashes for simple_ocio-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f05e548444e19b9fb85a3e6e2b18a936fdc368ea69c16ff847f92cc2050fd19f
MD5 98043a5d42e4db0c994378b802194bd3
BLAKE2b-256 c2bc7f247ff1729e8569db6d651c5f12b71510a39b352e958d325929c71d028f

See more details on using hashes here.

File details

Details for the file simple_ocio-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: simple_ocio-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.2 tqdm/4.66.5 importlib-metadata/8.2.0 keyring/25.6.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.11.9

File hashes

Hashes for simple_ocio-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f76ca0ece5f45cef64ae08fc0213552fd2657f2b091de43c48c8001adfe03fcc
MD5 b6dd825c5fb24ffc5ee2fd8b46282331
BLAKE2b-256 605fdafed37147b760fd2216c0244994aaa13587ab22996887c3cbde74422a98

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page