forked from image-rs/image
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support 16 bit per channel image buffers
Add 16 bit buffers for all 16 bit types in ColorType. Include these as supported types in DynamicImage. These 16 bit images are currently only supported with u16 representation; changing this would require specialization and macroing of color conversions. Load 16 bit PNGs at full bit depth rather than squashing to 8 bit. Note that tests will not pass until upgrading to a release of image-png including image-rs/image-png#174. Closes image-rs#560. Closes image-rs#665. Closes image-rs#940.
- Loading branch information
1 parent
9342a0b
commit 88f929d
Showing
12 changed files
with
540 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.