File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ The tif_lzw.c file in the libtiff C library has this comment:
18
18
19
19
----
20
20
The 5.0 spec describes a different algorithm than Aldus
21
- implements. Specifically, Aldus does code length transitions
21
+ implements. Specifically, Aldus does code length transitions
22
22
one code earlier than should be done (for real LZW).
23
23
Earlier versions of this library implemented the correct
24
24
LZW algorithm, but emitted codes in a bit order opposite
25
- to the TIFF spec. Thus, to maintain compatibility w/ Aldus
25
+ to the TIFF spec. Thus, to maintain compatibility w/ Aldus
26
26
we interpret MSB-LSB ordered codes to be images written w/
27
27
old versions of this library, but otherwise adhere to the
28
28
Aldus "off by one" algorithm.
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ type Options struct {
280
280
Compression CompressionType
281
281
// Predictor determines whether a differencing predictor is used;
282
282
// if true, instead of each pixel's color, the color difference to the
283
- // preceding one is saved. This improves the compression for certain
283
+ // preceding one is saved. This improves the compression for certain
284
284
// types of images and compressors. For example, it works well for
285
285
// photos with Deflate compression.
286
286
Predictor bool
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ var sixteen float32 = 16
292
292
// 0.0142602495543672
293
293
// 0.014260249212384224
294
294
//
295
- // On GOARCH=wasm, printing x and y gives:
295
+ // On GOARCH=wasm, printing x and y gives:
296
296
//
297
297
// 0.0142602495543672
298
298
// 0.0142602495543672
You can’t perform that action at this time.
0 commit comments