Package org.loboevolution.pdfview.decode
Class TIFFPredictor
java.lang.Object
org.loboevolution.pdfview.decode.Predictor
org.loboevolution.pdfview.decode.TIFFPredictor
Undo prediction based on the TIFF Predictor 2 algorithm
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionunpredict
(ByteBuffer imageData) Actually perform this algorithm on decoded image data.Methods inherited from class org.loboevolution.pdfview.decode.Predictor
getPredictor
-
Constructor Details
-
TIFFPredictor
public TIFFPredictor()Constructor for TIFFPredictor.
-
-
Method Details
-
unpredict
Actually perform this algorithm on decoded image data. Subclasses must implement this methodUndo data based on the png algorithm
- Specified by:
unpredict
in classPredictor
- Parameters:
imageData
- aByteBuffer
object.- Returns:
- a
ByteBuffer
object. - Throws:
IOException
- if any.
-