openlut - OSS tools for practical color management.
Dev Repo (Please submit Issues here): https://git.sofusrose.com/so-rose/openlut
Mirror Repo: https://www.github.com/so-rose/openlut
PyPi Package: https://pypi.python.org/pypi/openlut
What is it?
openlut is a practical color management library/tool that aims to simplify and unify all the various methods of making accurate color transformations.
Supported transforms include:
- 1D and 3D LUTs
- Color Matrices
- Gamma Function
- CDL Transform
It's built on my own color pipeline needs - I needed a simple but close-to-the-math solutions that dealt not with images, but with float arrays.
As a tool, its main feature is that it's exceptionally easy to import, transform, and then save not only images, but also transforms.
Documentation
Docs can be found at https://sofusrose.com/openlut. They're a work in progress for now (ColMap is 100% documented).
Installation
-
Check Versions: Ensure you have Python 3.5+ installed.
-
Get System Dependencies - needing to do this is an unfortunate side effect of PyPi.
- On Debian/Ubuntu:
sudo apt-get install python3-pip gcc libmagickwand-dev - On Mac:
brew install python3 gcc imagemagick
- On Debian/Ubuntu:
-
Ensure Core Python Packages are Up To Date: Simply run
pip3 install --user -U pip setuptools wheelto do so. -
Install OpenLUT: Run
pip3 install --user openlut.- This may take awhile, as it must compile the C++ Extension.
Development
-
Clone the Repository: This is easy enough to do - just run
git clone https://www.github.com/so-rose/openlut. -
Compile Openlut: Again, very easy - just run
./build <TARGET>, where<TARGET>is some build target as listed in./build -l.
Troubleshooting
Pip doesn't work: If Python is installed, but pip won't run, try running curl https://bootstrap.pypa.io/get-pip.py | python3
Doesn't work on Windows: I'm unsure of how pip compiles C Extensions on Windows, and have little willpower to investigate. If you need Windows support, PM me and I'll see what I can do about it.
Something's broken...: There may be several bugs. If you start an Issue, then I can investigate.
I Want To Contribute!
Contributions are welcome! Let me know if you have any questions or issues.
Metadata
Release files for openlut 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openlut-0.2.7.tar.gz | 25.8 kB | Without provenance | Details for openlut-0.2.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openlut-0.2.7-cp37-cp37m-win32.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-32 | Details for openlut-0.2.7-cp37-cp37m-win32.whl |
Total release size: 100.8 kB
Release files / openlut-0.2.7.tar.gz
| Download URL | openlut-0.2.7.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96d681296f00d9c74db7452774f9f2cd351821fa77c393bac61ebafb83c92b96
|
|
BLAKE2b-256 checksum How to use checksums |
43c18d6de3410fb1f9013577dedc33a6a68c4edff7fa441a299e53d3fbd30b30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / openlut-0.2.7-cp37-cp37m-win32.whl
| Download URL | openlut-0.2.7-cp37-cp37m-win32.whl |
|---|---|
| Size | 75.1 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
718247a096cdd401d65a41fb0327cdb3208ec1b35b17ddf4ce729885ec5c0b94
|
|
BLAKE2b-256 checksum How to use checksums |
b4211ee91e01e0fdfc8afadd987090c0be937c291ee05a907f692fea9d8c18ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for openlut 0.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.