Fix #885: Generate sRGB thumbnails for images with embedded color profile data
authorDaniel Vogelbacher <>
Tue, 27 Apr 2021 12:09:38 +0000 (13:09 +0100)
committerColin Clark <colin.clark@cclark.uk>
Tue, 27 Apr 2021 12:09:38 +0000 (13:09 +0100)
commita61388bf6bf81aa824c6c763549d5c612a919899
tree485b008ee0df5ed1b39e282de0e0d6b64717f514
parenta6a63670a28ce5ef0a45f73218eeda83e031821d
Fix #885: Generate sRGB thumbnails for images with embedded color profile data

Images with color profiles other than sRGB or AdobeRGB may look too bright/dark as thumbnails, because Geeqie ignores color profile information during thumbnail generation.

This patch adds color profile correction for thumbnails if the image contains EXIF data and provides an embedded color profile or EXIF color profile identifiers.

Fixes #608
src/thumb.c
src/thumb_standard.c
src/thumb_standard.h