Documentation of 'visad.data.tiff.LegacyTiffTools' Java class
LegacyTiffTools
visad.data.tiff

Class LegacyTiffTools


  • Deprecated. 
    Use loci.formats.TiffTools

    public class LegacyTiffTools
    extends java.lang.Object
    A utility class for manipulating TIFF files.
    • Constructor Summary

      Constructors 
      Constructor and Description
      LegacyTiffTools()
      Deprecated. 
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      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. 
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LegacyTiffTools

        public LegacyTiffTools()
        Deprecated. 
    • Method Detail

      • getIFDHash

        public static java.util.Hashtable getIFDHash(java.io.RandomAccessFile readIn)
                                              throws java.io.IOException
        Deprecated. 
        Throws:
        java.io.IOException
      • getIFDHash

        public static java.util.Hashtable getIFDHash(java.io.RandomAccessFile readIn,
                                                     int block_id)
                                              throws java.io.IOException
        Deprecated. 
        Throws:
        java.io.IOException
      • getIFDArray

        public static int[] getIFDArray(java.io.RandomAccessFile readIn,
                                        java.util.Vector v)
                                 throws java.io.IOException
        Deprecated. 
        Items in an IFD can be pointers to arrays of data, and not just single items. This will return an array of int containing the data pointed to in the IFD. This does not currently handle the type RATIONAL.
        Throws:
        java.io.IOException
      • getIFDRArray

        public static double[] getIFDRArray(java.io.RandomAccessFile readIn,
                                            java.util.Vector v)
                                     throws java.io.IOException
        Deprecated. 
        Items in an IFD can be pointers to arrays of data, and not just single items. This will return an array of int containing the data pointed to in the IFD.
        Throws:
        java.io.IOException
      • lzwUncompress

        public static byte[] lzwUncompress(byte[] input)
                                    throws java.io.IOException
        Deprecated. 
        Throws:
        java.io.IOException
      • getPhotometricInterpretation

        public static int getPhotometricInterpretation(java.io.RandomAccessFile in)
                                                throws java.io.IOException
        Deprecated. 
        Throws:
        java.io.IOException
      • batoi

        public static int batoi(byte[] inp)
        Deprecated. 
        Translates up to the first 4 bytes of a byte array to an integer.
      • getTIFFDimensions

        public static int[] getTIFFDimensions(java.io.RandomAccessFile readIn)
                                       throws java.io.IOException
        Deprecated. 
        Throws:
        java.io.IOException
      • getIFDValue

        public static int getIFDValue(java.util.Hashtable h,
                                      int id)
        Deprecated. 
      • isIFDArray

        public static boolean isIFDArray(java.util.Hashtable h,
                                         int id)
        Deprecated. 
      • main

        public static void main(java.lang.String[] args)
                         throws java.io.IOException
        Deprecated. 
        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.