Replies: 1 comment
-
|
Bit depth is a long story. There is another enum called zune-image/zune-core/src/bit_depth.rs Lines 12 to 53 in 712360e The only one of importance now is The reason I didn't do it like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to integrate
zune-jpegintoimageand I have a question about color spaces.zune-corehas theColorSpaceenum that doesn't specify the bit depth. Meanwhileimagehas aColorTypeenum that does specify the bit depth -Rbga8andRgba16are distinct values.How can I convert from the zune representation to the image representation when using
zune-jpeg? Is the bit depth always assumed to be 8 bit per pixel, or is it communicated through some property I didn't discover?Beta Was this translation helpful? Give feedback.
All reactions