From 34f453878b861d96ffa088ead9111da7609603da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Mar 2023 09:51:50 +0100 Subject: [chore]: Bump golang.org/x/image from 0.5.0 to 0.6.0 (#1615) Bumps [golang.org/x/image](https://github.com/golang/image) from 0.5.0 to 0.6.0. - [Release notes](https://github.com/golang/image/releases) - [Commits](https://github.com/golang/image/compare/v0.5.0...v0.6.0) --- updated-dependencies: - dependency-name: golang.org/x/image dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- vendor/golang.org/x/image/tiff/lzw/reader.go | 4 ++-- vendor/golang.org/x/image/tiff/writer.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor/golang.org/x') diff --git a/vendor/golang.org/x/image/tiff/lzw/reader.go b/vendor/golang.org/x/image/tiff/lzw/reader.go index 1ccf5858a..0aae475ab 100644 --- a/vendor/golang.org/x/image/tiff/lzw/reader.go +++ b/vendor/golang.org/x/image/tiff/lzw/reader.go @@ -18,11 +18,11 @@ The tif_lzw.c file in the libtiff C library has this comment: ---- The 5.0 spec describes a different algorithm than Aldus -implements. Specifically, Aldus does code length transitions +implements. Specifically, Aldus does code length transitions one code earlier than should be done (for real LZW). Earlier versions of this library implemented the correct LZW algorithm, but emitted codes in a bit order opposite -to the TIFF spec. Thus, to maintain compatibility w/ Aldus +to the TIFF spec. Thus, to maintain compatibility w/ Aldus we interpret MSB-LSB ordered codes to be images written w/ old versions of this library, but otherwise adhere to the Aldus "off by one" algorithm. diff --git a/vendor/golang.org/x/image/tiff/writer.go b/vendor/golang.org/x/image/tiff/writer.go index 4272c5aa0..5d461841c 100644 --- a/vendor/golang.org/x/image/tiff/writer.go +++ b/vendor/golang.org/x/image/tiff/writer.go @@ -280,7 +280,7 @@ type Options struct { Compression CompressionType // Predictor determines whether a differencing predictor is used; // if true, instead of each pixel's color, the color difference to the - // preceding one is saved. This improves the compression for certain + // preceding one is saved. This improves the compression for certain // types of images and compressors. For example, it works well for // photos with Deflate compression. Predictor bool -- cgit v1.2.3