Skip to main content

A minimalistic module to utilize Little CMS (http://littlecms.com) to apply color profiles to 16 bit TIFF images

Project description

Python Little CMS Travis CI build status PyPI version

A minimalistic module to utilize Little CMS to apply color profiles to 16 bit TIFF images.

Motivation

Currently there seems to be no python packages available to apply color profiles to 16 bit TIFF images. Pillow has built in support for Little CMS, but does currently not have 16 bit support for RGB images.

Installation

git submodule update --init
python setup.py bdist_wheel --build-type Release

Then install the wheel present in the dist folder.

Example

To run the example you need a 16 bit TIFF image and a color profile, for example a *.icm file. Then run

python example.py your_image.tif your_profile.icm

and have a look at the generated image your_image-transformed.tif.

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

lcms-0.3.0.tar.gz (11.6 MB view hashes)

Uploaded Source

Supported by

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