Clarify predictor docs
This commit is contained in:
1 parent
0ad653433a
commit
79a791b49a
1 file changed
+1
-1
+1
-1
@@ -152,7 +152,7 @@ impl<W: Write + Seek, K: TiffKind> TiffEncoder<W, K> {
|
|||||||
/// Set the predictor to use
|
/// Set the predictor to use
|
||||||
///
|
///
|
||||||
/// A predictor is used to simplify the file before writing it. This is very
|
/// 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 {
|
pub fn with_predictor(mut self, predictor: Predictor) -> Self {
|
||||||
self.predictor = predictor;
|
self.predictor = predictor;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user