From b60d83760feee732bd271615ad74d0c20cec5ad3 Mon Sep 17 00:00:00 2001 From: cc Date: Thu, 28 Aug 2025 02:15:40 -0700 Subject: Update to use unified label --- src/lib.rs | 12 ------------ src/tiff.rs | 4 +++- 2 files changed, 3 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 60e74b9..3c355ed 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -67,18 +67,6 @@ mod tests { } } - #[test] - fn tiff_data_dump_test() { - tiff::ignore_warnings(); - if let Some(large_label_format) = tiff::to_large_labels(TEST_IMAGE_PATH) { - if let Err(_) = large_label_format.dump(TEST_LABEL_OUTPUT_PATH) { - assert!(false); - } - } else { - assert!(false); - } - } - #[test] fn tiff_compressed_data_dump_test() { tiff::ignore_warnings(); diff --git a/src/tiff.rs b/src/tiff.rs index 88acbea..2bd9a84 100644 --- a/src/tiff.rs +++ b/src/tiff.rs @@ -1,7 +1,9 @@ use std::os::raw::{c_char, c_uint, c_void, c_longlong, c_long}; use std::ffi::CString; -use label_toolkit::LargeLabelFormat; +use label_toolkit::LabelFormat; + +type LargeLabelFormat = LabelFormat; /// # TIFF Internal Structure -- cgit v1.2.1