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
-
I'm trying to integrate
zune-jpeg
intoimage
and I have a question about color spaces.zune-core
has theColorSpace
enum that doesn't specify the bit depth. Meanwhileimage
has aColorType
enum that does specify the bit depth -Rbga8
andRgba16
are 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