Package mil.nga.tiff.compression
Class Predictor
- java.lang.Object
-
- mil.nga.tiff.compression.Predictor
-
public class Predictor extends Object
Differencing Predictor decoder- Since:
- 3.0.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description Predictor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
decode(byte[] bytes, int predictor, int width, int height, List<Integer> bitsPerSample, int planarConfiguration)
Decode the predictor encoded bytes
-
-
-
Method Detail
-
decode
public static byte[] decode(byte[] bytes, int predictor, int width, int height, List<Integer> bitsPerSample, int planarConfiguration)
Decode the predictor encoded bytes- Parameters:
bytes
- bytes to decodepredictor
- predictor valuewidth
- tile widthheight
- tile heightbitsPerSample
- bits per samplesplanarConfiguration
- planar configuration- Returns:
- decoded or original bytes
-
-