Bump MSRV to 1.88
This commit is contained in:
1 parent
fb4ee9b377
commit
abf3cc617d
5 files changed
+8
-8
No files matched your search
@@ -1029,7 +1029,7 @@ impl Image {
|
||||
|
||||
debug_assert!(bits_per_pixel >= photometric_bit_end);
|
||||
|
||||
if bits_per_pixel % 8 != 0 || photometric_bit_end % 8 != 0 {
|
||||
if !bits_per_pixel.is_multiple_of(8) || !photometric_bit_end.is_multiple_of(8) {
|
||||
return Err(TiffError::UnsupportedError(
|
||||
TiffUnsupportedError::InterpretationWithBits(
|
||||
self.photometric_interpretation,
|
||||
|
||||
Reference in new issue
Block a user