Skip to main content

A color profile converter for easy_thumbnails

Project description

INSTALL

put easy_thumbnails_watermark in INSTALLED_APPS

INSTALLED_APPS = (
    'easy_thumbnails_colorprofile',
)

add the preprocesor in your settings

from easy_thumbnails.conf import Settings as easy_thumbnails_defaults

THUMBNAIL_PROCESSORS = easy_thumbnails_defaults.THUMBNAIL_PROCESSORS + (
    'easy_thumbnails_colorprofile.thumbnail_processors.colorprofile_processor',
)

Credits

I copied various code from http://stackoverflow.com/questions/11041044/python-pil-convert-jpg-from-adobergb-to-srgb

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

django-easy-thumbnails-colorprofile-0.4.tar.gz (15.1 kB view details)

Uploaded Source

File details

Details for the file django-easy-thumbnails-colorprofile-0.4.tar.gz.

File metadata

File hashes

Hashes for django-easy-thumbnails-colorprofile-0.4.tar.gz
Algorithm Hash digest
SHA256 a51342ad5c1b3b5cd8b318370b4b4cc9a6e4e8da1d3a89109adec5128d6eb669
MD5 12faee118f315b800a8be034876a0bba
BLAKE2b-256 913d1f67f53de1a99afa848556e7ba390dd6fdb077975da09eacbf3e7cd9003b

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