casey/pxl

[pxl-build] Support gamma, linearization, and color spaces

Open

#79 ouverte le 27 juin 2018

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Rust (2 forks)github user discovery
enhancementgood first issue

Métriques du dépôt

Stars
 (32 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

The image crate loads image data from disk without gamma correction, linearization, or color-space correction.

We should respect gamma and color space information in image resource source PNGs and JPEGs and load images as linear RGB. For a good breakdown of these issues, see this crate.

Ideally the image crate could add this functionality, requested in this issue. If not, we might consider using a library that allows loading image metadata, or switching to another image decoding library.

Guide contributeur