Clarify predictor docs

This commit is contained in:
Sergey "Shnatsel" Davidoff committed 2026-03-06 10:02:24 +00:00
1 parent 0ad653433a
commit 79a791b49a
1 file changed
+1 -1
+1 -1
View File
@@ -152,7 +152,7 @@ impl<W: Write + Seek, K: TiffKind> TiffEncoder<W, K> {
/// Set the predictor to use
///
/// A predictor is used to simplify the file before writing it. This is very
/// useful when writing a file compressed using LZW as it can improve efficiency
/// useful when writing a file compressed using LZW or DEFLATE as it can improve compression ratio
pub fn with_predictor(mut self, predictor: Predictor) -> Self {
self.predictor = predictor;