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 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