casey/pxl

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

Open

#79 创建于 2018年6月27日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Rust (2 fork)github user discovery
enhancementgood first issue

仓库指标

Star
 (32 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南