casey/pxl

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

Open

#79 aperta il 27 giu 2018

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (2 fork)github user discovery
enhancementgood first issue

Metriche repository

Star
 (32 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor