public final class T4AndT6Compression
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
compressModifiedHuffman(byte[] uncompressed,
int width,
int height)
Compressed with the "Modified Huffman" encoding of section 10 in the
TIFF6 specification.
|
static byte[] |
compressT4_1D(byte[] uncompressed,
int width,
int height,
boolean hasFill) |
static byte[] |
compressT4_2D(byte[] uncompressed,
int width,
int height,
boolean hasFill,
int parameterK) |
static byte[] |
compressT6(byte[] uncompressed,
int width,
int height) |
static byte[] |
decompressModifiedHuffman(byte[] compressed,
int width,
int height)
Decompresses the "Modified Huffman" encoding of section 10 in the TIFF6
specification.
|
static byte[] |
decompressT4_1D(byte[] compressed,
int width,
int height,
boolean hasFill)
Decompresses T.4 1D encoded data.
|
static byte[] |
decompressT4_2D(byte[] compressed,
int width,
int height,
boolean hasFill)
Decompressed T.4 2D encoded data.
|
static byte[] |
decompressT6(byte[] compressed,
int width,
int height)
Decompress T.6 encoded data.
|
public static final int WHITE
public static final int BLACK
public static byte[] compressModifiedHuffman(byte[] uncompressed, int width, int height) throws ImageWriteException
uncompressed
- width
- height
- ImageWriteException
public static byte[] decompressModifiedHuffman(byte[] compressed, int width, int height) throws ImageReadException
compressed
- width
- height
- ImageReadException
public static byte[] compressT4_1D(byte[] uncompressed, int width, int height, boolean hasFill) throws ImageWriteException
ImageWriteException
public static byte[] decompressT4_1D(byte[] compressed, int width, int height, boolean hasFill) throws ImageReadException
compressed
- width
- height
- ImageReadException
public static byte[] compressT4_2D(byte[] uncompressed, int width, int height, boolean hasFill, int parameterK) throws ImageWriteException
ImageWriteException
public static byte[] decompressT4_2D(byte[] compressed, int width, int height, boolean hasFill) throws ImageReadException
compressed
- width
- height
- ImageReadException
public static byte[] compressT6(byte[] uncompressed, int width, int height) throws ImageWriteException
ImageWriteException
public static byte[] decompressT6(byte[] compressed, int width, int height) throws ImageReadException
compressed
- width
- height
- ImageReadException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"