public class LegacyTiffTools
extends java.lang.Object
| Constructor and Description |
|---|
LegacyTiffTools()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
batoi(byte[] inp)
Deprecated.
Translates up to the first 4 bytes of a byte array to an integer.
|
static int[] |
getIFDArray(java.io.RandomAccessFile readIn,
java.util.Vector v)
Deprecated.
Items in an IFD can be pointers to arrays of data, and not just single
items.
|
static java.util.Hashtable |
getIFDHash(java.io.RandomAccessFile readIn)
Deprecated.
|
static java.util.Hashtable |
getIFDHash(java.io.RandomAccessFile readIn,
int block_id)
Deprecated.
|
static double[] |
getIFDRArray(java.io.RandomAccessFile readIn,
java.util.Vector v)
Deprecated.
Items in an IFD can be pointers to arrays of data, and not just single
items.
|
static int |
getIFDValue(java.util.Hashtable h,
int id)
Deprecated.
|
static int |
getPhotometricInterpretation(java.io.RandomAccessFile in)
Deprecated.
|
static int[] |
getTIFFDimensions(java.io.RandomAccessFile readIn)
Deprecated.
|
static boolean |
isIFDArray(java.util.Hashtable h,
int id)
Deprecated.
|
static byte[] |
lzwUncompress(byte[] input)
Deprecated.
|
static void |
main(java.lang.String[] args)
Deprecated.
|
public static java.util.Hashtable getIFDHash(java.io.RandomAccessFile readIn)
throws java.io.IOException
java.io.IOExceptionpublic static java.util.Hashtable getIFDHash(java.io.RandomAccessFile readIn,
int block_id)
throws java.io.IOException
java.io.IOExceptionpublic static int[] getIFDArray(java.io.RandomAccessFile readIn,
java.util.Vector v)
throws java.io.IOException
java.io.IOExceptionpublic static double[] getIFDRArray(java.io.RandomAccessFile readIn,
java.util.Vector v)
throws java.io.IOException
java.io.IOExceptionpublic static byte[] lzwUncompress(byte[] input)
throws java.io.IOException
java.io.IOExceptionpublic static int getPhotometricInterpretation(java.io.RandomAccessFile in)
throws java.io.IOException
java.io.IOExceptionpublic static int batoi(byte[] inp)
public static int[] getTIFFDimensions(java.io.RandomAccessFile readIn)
throws java.io.IOException
java.io.IOExceptionpublic static int getIFDValue(java.util.Hashtable h,
int id)
public static boolean isIFDArray(java.util.Hashtable h,
int id)
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException