Generate sRGB thumbnails for images with embedded color profile data
authorDaniel Vogelbacher <daniel@chaospixel.com>
Mon, 26 Apr 2021 15:59:04 +0000 (17:59 +0200)
committerDaniel Vogelbacher <daniel@chaospixel.com>
Mon, 26 Apr 2021 15:59:04 +0000 (17:59 +0200)
commiteaf4dcdd76e4e216c50734723a86cb42c7cfae30
tree0e6f33a6c475d8bd02cd781c71fba6554c692f8f
parent0b225970021dc1591126d1f4ca87842c22266cda
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.
src/thumb.c
src/thumb_standard.c
src/thumb_standard.h