diff options
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/golang.org/x/image/tiff/lzw/reader.go | 4 | ||||
-rw-r--r-- | vendor/golang.org/x/image/tiff/writer.go | 2 | ||||
-rw-r--r-- | vendor/modules.txt | 2 |
3 files changed, 4 insertions, 4 deletions
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 diff --git a/vendor/modules.txt b/vendor/modules.txt index 7aa4b6a46..792602dd5 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -762,7 +762,7 @@ golang.org/x/crypto/ssh/internal/bcrypt_pbkdf ## explicit; go 1.18 golang.org/x/exp/constraints golang.org/x/exp/slices -# golang.org/x/image v0.5.0 +# golang.org/x/image v0.6.0 ## explicit; go 1.12 golang.org/x/image/bmp golang.org/x/image/ccitt |