/tinycio

A primitive, lightweight Python color library for PyTorch-involved projects

Primary LanguagePythonMIT LicenseMIT

tinycio

About

A primitive, lightweight Python color library for PyTorch-involved projects. It implements color space conversion, tone mapping, LUT usage and creation, basic color correction and color balancing, and HDR-LDR encoding/decoding.

Getting started

See the docs for the rest.

Requires

  • Python >=3.8
  • PyTorch >=2.0 (earlier versions untested)
  • NumPy >=1.21
  • imageio >=2.9 (with PNG-FI FreeImage plugin)
  • tqdm >=4.64
  • toml >=0.10