9001 / 9001/copyparty

Use or convert color profiles for thumbnail generation

Open
#713 2 comments 0 reactions 1 assignee Claimed by @9001 View on GitHub
enhancement
Dominant language
Python
Stars
46.6k
Forks
1.9k
Avg merge
10d 16h
Merged PRs (30d)
5

Description

### Is your feature request related to a problem? Please describe.
When viewing thumbnails of HDR images with HDR color profiles (such as P3, Rec.2020, AdobeRGB etc.) in copyparty, they appear dull and almost greyscale.

### Describe the solution you'd like
I'd like thumbnails to properly honor the color profiles of the original files. Two potential approaches:
1. Convert the image to the sRGB color profile before generating thumbnails, ensuring consistent and accurate display across devices.
2. Embed the original color profile into the thumbnail, allowing browsers with HDR support to render them in high quality.

### Describe alternatives you've considered
Currently, there's no good workaround—either accept the dull thumbnails or avoid using HDR images altogether. I've considered manual conversion into extra subfolders for quick viewing (cf. screenshots).

### Additional context

**HDR images saved in Display-P3 color space**
Image
**SDR images saved in sRGB color space**
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.