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.2.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.2.0-py3-none-any.whl (7.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_ocio-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 dc16a975cc99d737b95912143270a6b7c0f3d5d33a7b8d03879630b54f8b38f9
MD5 2363b5d898b2d47df2ad8e7bfbc2607a
BLAKE2b-256 ea1a197243ab387a138f1f46663b2307d0c421a5bba597f5ee3191cb3965fbf1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simple_ocio-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7bad89e674ae8c16b41d62bf0f627fcd0cf8b9214076b7a62ba4ce854b9a63c7
MD5 f87d921b7d008e679d6e052003912f79
BLAKE2b-256 e2c237807014eff3b7249f4c568e2b2b12469f15dd2996ed72da43cda4db2bc4

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