TiffStreamFactory
Inheritance: java.lang.Object
public final class TiffStreamFactory
The Tiff stream factory based on byte endianness.
Methods
Method | Description |
---|---|
getTiffWriter(StreamContainer stream, int byteOrder) | Gets the tiff stream writer. |
getTiffWriter(StreamContainer stream, int byteOrder, boolean isBigTiff) | Gets the tiff stream writer. |
getTiffReader(StreamContainer stream, int byteOrder) | Gets the tiff stream reader. |
getTiffReader(StreamContainer stream, int byteOrder, boolean isBigTiff) | Gets the tiff stream reader. |
getTiffReader(byte[] bytes, int bytesOffset, int dataLength, int byteOrder) | Gets the tiff stream reader. |
getTiffReader(byte[] bytes, int bytesOffset, int dataLength, int byteOrder, boolean isBigTiff) | Gets the tiff stream reader. |
getTiffWriter(StreamContainer stream, int byteOrder)
public static TiffStreamWriter getTiffWriter(StreamContainer stream, int byteOrder)
Gets the tiff stream writer.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | StreamContainer | The stream container. |
byteOrder | int | The byte order. |
Returns: TiffStreamWriter - Tiff stream suitable for writing.
getTiffWriter(StreamContainer stream, int byteOrder, boolean isBigTiff)
public static TiffStreamWriter getTiffWriter(StreamContainer stream, int byteOrder, boolean isBigTiff)
Gets the tiff stream writer.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | StreamContainer | The stream container. |
byteOrder | int | The byte order. |
isBigTiff | boolean | Indicates TIFF type. |
Returns: TiffStreamWriter - Tiff stream suitable for writing.
getTiffReader(StreamContainer stream, int byteOrder)
public static TiffStreamReader getTiffReader(StreamContainer stream, int byteOrder)
Gets the tiff stream reader.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | StreamContainer | The stream container. |
byteOrder | int | The byte order. |
Returns: TiffStreamReader - Tiff stream suitable for reading.
getTiffReader(StreamContainer stream, int byteOrder, boolean isBigTiff)
public static TiffStreamReader getTiffReader(StreamContainer stream, int byteOrder, boolean isBigTiff)
Gets the tiff stream reader.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | StreamContainer | The stream container. |
byteOrder | int | The byte order. |
isBigTiff | boolean | Indicates TIFF type. |
Returns: TiffStreamReader - Tiff stream suitable for reading.
getTiffReader(byte[] bytes, int bytesOffset, int dataLength, int byteOrder)
public static TiffStreamReader getTiffReader(byte[] bytes, int bytesOffset, int dataLength, int byteOrder)
Gets the tiff stream reader.
Parameters:
Parameter | Type | Description |
---|---|---|
bytes | byte[] | The bytes. |
bytesOffset | int | The bytes offset. |
dataLength | int | Length of the data. |
byteOrder | int | The byte order. |
Returns: TiffStreamReader - Tiff stream suitable for reading.
getTiffReader(byte[] bytes, int bytesOffset, int dataLength, int byteOrder, boolean isBigTiff)
public static TiffStreamReader getTiffReader(byte[] bytes, int bytesOffset, int dataLength, int byteOrder, boolean isBigTiff)
Gets the tiff stream reader.
Parameters:
Parameter | Type | Description |
---|---|---|
bytes | byte[] | The bytes. |
bytesOffset | int | The bytes offset. |
dataLength | int | Length of the data. |
byteOrder | int | The byte order. |
isBigTiff | boolean | Indicates Tiff type: original or big. |
Returns: TiffStreamReader - Tiff stream suitable for reading.