public class TIFFFaxDecoder extends Object
Constructor and Description |
---|
TIFFFaxDecoder(long fillOrder, int w, int h) |
Modifier and Type | Method and Description |
---|---|
void |
decode1D(byte[] buffer, byte[] compData, int startX, int height) |
void |
decode2D(byte[] buffer, byte[] compData, int startX, int height, long tiffT4Options) |
void |
decodeNextScanline(byte[] buffer, int lineOffset, int bitOffset) |
void |
decodeT6(byte[] buffer, byte[] compData, int startX, int height, long tiffT6Options) |
static void |
reverseBits(byte[] b)
Reverses the bits in the array
|
void |
setRecoverFromImageError(boolean recoverFromImageError) |
public TIFFFaxDecoder(long fillOrder, int w, int h)
fillOrder
- The fill order of the compressed data bytes.
w
-
h
-
public static void reverseBits(byte[] b)
b
- the bits to reverse
public void decode1D(byte[] buffer, byte[] compData, int startX, int height)
public void decodeNextScanline(byte[] buffer, int lineOffset, int bitOffset)
public void decode2D(byte[] buffer, byte[] compData, int startX, int height, long tiffT4Options)
public void decodeT6(byte[] buffer, byte[] compData, int startX, int height, long tiffT6Options)
public void setRecoverFromImageError(boolean recoverFromImageError)
Copyright © 1998–2019. All rights reserved.