moved namespace qualifier

This commit is contained in:
Pretorer committed 2022-01-11 15:51:34 +01:00
1 parent 9df18a1674
commit 6f89033fd3
1 file changed
+2 -2
+2 -2
View File
@@ -12,7 +12,7 @@ use std::{
use crate::{
error::TiffResult,
tags::{ResolutionUnit, Tag},
tags::{CompressionMethod, ResolutionUnit, Tag},
};
pub mod colortype;
@@ -356,7 +356,7 @@ impl<'a, W: 'a + Write + Seek, T: ColorType, K: TiffKind, D: Compression>
// Also keep the multiple strip handling 'oiled'
let rows_per_strip = {
match D::COMPRESSION_METHOD {
crate::tags::CompressionMethod::PackBits => 1, // Each row must be packed separately. Do not compress across row boundaries
CompressionMethod::PackBits => 1, // Each row must be packed separately. Do not compress across row boundaries
_ => (1_000_000 + row_bytes - 1) / row_bytes,
}
};