1994.01.26 12:33 "Vertical differencing", by Erik Corry
In Section 17 of the draft TIFF 6.0 document, the differencing predictor for LZW compression is described. I have been using this, and it almost always leads to smaller files.
I would like to add the option of vertical differencing to my software. This is mentioned in Section 17, but is not thought useful, as it only sometimes leads to smaller files. Therefore no tag value is defined.
The obvious choice is:
Does anyone use these predictors? Have tag values been defined? Or private tag values been reserved? Is there a de facto value?
One idea would have been to use the values for predictors defined for JPEG in Section 25 (page 104 in the 1992-02-14 draft I have), but unfortunately, the values that have already been defined for LZW are incompatible with these values. When I say 'both' above, I mean the JPEG scheme 4. This means that for the pixels:
| | |
| C | B |
| A | X |
| | |
the predicted value of X is A+B-C.
Erik Corry, Skagerrakstr. 2, D-79100 Freiburg, +49 761 406637