Add ColorType::Multiband enum variant to support samples>1 per pixel (#224)

Co-authored-by: tromper <scott@hopkinsunderground.com>
This commit is contained in:
Wei Jiandtromper authored and GitHub committed 2024-03-24 15:04:52 -07:00
1 parent 90ae5b8e54
commit 0c54a18e21
4 files changed
+94 -10

No files matched your search

+3
View File
@@ -40,4 +40,7 @@ pub enum ColorType {
/// Pixel is YCbCr
YCbCr(u8),
/// Pixel has multiple bands/channels
Multiband { bit_depth: u8, num_samples: u16 },
}