## Uses of Class
loci.formats.tiff.IFD

- Packages that use IFD
  Package | Description
  --- | ---
  loci.formats.in | Package containing Bio-Formats file format readers.
  loci.formats.out | Package containing Bio-Formats file format writers.
  loci.formats.tiff | Package containing Bio-Formats TIFF code of general utility.

- - ### Uses of IFD in loci.formats.in

    Fields in loci.formats.in declared as IFD
    Modifier and Type | Field and Description
    --- | ---
    `protected IFD` | NikonReader.`original` The original IFD.
    `protected IFD` | DNGReader.`original` The original IFD.

    Methods in loci.formats.in that return IFD
    Modifier and Type | Method and Description
    --- | ---
    `private static IFD` | OMETiffReader.`getFirstIFD(java.lang.String fname)`
    `protected IFD` | SVSReader.`getIFD(int no)` Get the IFD corresponding to the given plane in the current series.
    `private IFD` | VentanaReader.`splitIFD(IFD ifd, int no)` Take the real IFD on disk and reshape it into something that represents only the given plane.

    Methods in loci.formats.in with parameters of type IFD
    Modifier and Type | Method and Description
    --- | ---
    `protected byte[]` | MinimalTiffReader.`copyTile(IFD ifd, byte[] buf, int x, int y)`
    `protected long` | MinimalTiffReader.`getCompressedByteCount(IFD ifd, int x, int y)`
    `private loci.common.RandomAccessInputStream` | ZeissLSMReader.`getCZTag(IFD ifd)`
    `private long[]` | NDPIReader.`getMarkers(IFD ifd)` Get the array of restart markers (offsets) for the given IFD.
    `private java.lang.String` | BaseTiffReader.`getResolutionUnitFromComment(IFD ifd)` Extracts the resolution unit symbol from the comment field
    `protected int` | MinimalTiffReader.`getTileIndex(IFD ifd, int x, int y)` Get the index of the tile corresponding to given IFD (plane) and tile XY indexes.
    `private byte[]` | FlowSightReader.`openBitmaskBytes(IFD ifd, int imageWidth, int imageHeight)` Decode the whole IFD plane using bitmask compression
    `private byte[]` | FlowSightReader.`openGreyscaleBytes(IFD ifd, int imageWidth, int imageHeight)` Decode the whole IFD plane using greyscale compression
    `protected void` | BaseTiffReader.`put(java.lang.String key, IFD ifd, int tag)`
    `protected void` | BaseTiffReader.`putDouble(java.lang.String key, IFD ifd, int tag)`
    `protected void` | BaseTiffReader.`putInt(java.lang.String key, IFD ifd, int tag)`
    `protected void` | BaseTiffReader.`putString(java.lang.String key, IFD ifd, int tag)`
    `private void` | NDPIReader.`resetStream(IFD ifd)`
    `protected void` | MinimalTiffReader.`setResolutionLevel(IFD ifd)` Sets the resolution level when we have JPEG 2000 compressed data.
    `private IFD` | VentanaReader.`splitIFD(IFD ifd, int no)` Take the real IFD on disk and reshape it into something that represents only the given plane.
    `private boolean` | NDPIReader.`useTiffParser(IFD ifd)`

  - ### Uses of IFD in loci.formats.out

    Fields in loci.formats.out declared as IFD
    Modifier and Type | Field and Description
    --- | ---
    `private IFD[][]` | DicomWriter.`ifds`

    Methods in loci.formats.out that return IFD
    Modifier and Type | Method and Description
    --- | ---
    `protected IFD` | TiffWriter.`makeIFD()`
    `protected IFD` | PyramidOMETiffWriter.`makeIFD()`

    Methods in loci.formats.out with parameters of type IFD
    Modifier and Type | Method and Description
    --- | ---
    `private void` | TiffWriter.`formatCompression(IFD ifd)` Sets the compression code for the specified IFD.
    `protected int` | TiffWriter.`prepareToWriteImage(int no, byte[] buf, IFD ifd, int x, int y, int w, int h)` Performs the preparation for work prior to the usage of the TIFF saver.
    `void` | TiffWriter.`saveBytes(int no, byte[] buf, IFD ifd)` Saves the given image to the specified (possibly already open) file.
    `void` | TiffWriter.`saveBytes(int no, byte[] buf, IFD ifd, int x, int y, int w, int h)` Saves the given image to the specified series in the current file.
    `void` | PyramidOMETiffWriter.`saveBytes(int no, byte[] buf, IFD ifd, int x, int y, int w, int h)`
    `void` | OMETiffWriter.`saveBytes(int no, byte[] buf, IFD ifd, int x, int y, int w, int h)`

  - ### Uses of IFD in loci.formats.tiff

    Fields in loci.formats.tiff declared as IFD
    Modifier and Type | Field and Description
    --- | ---
    `private IFD` | TiffParser.`firstIFD` Cached first IFD in the current file.

    Methods in loci.formats.tiff that return IFD
    Modifier and Type | Method and Description
    --- | ---
    `IFD` | TiffParser.`getFirstIFD()` Gets the first IFD within the TIFF file, or null if the input source is not a valid TIFF file.
    `IFD` | TiffParser.`getIFD(long offset)` Gets the IFD stored at the given offset.

    Methods in loci.formats.tiff with parameters of type IFD
    Modifier and Type | Method and Description
    --- | ---
    `static void` | TiffCompression.`difference(byte[] input, IFD ifd)` Performs in-place differencing according to the given predictor value.
    `void` | TiffParser.`fillInIFD(IFD ifd)` Fill in IFD entries that are stored at an arbitrary offset.
    `int[]` | TiffParser.`getColorMap(IFD ifd)` Retrieve the color map associated with the given IFD.
    `CodecOptions` | TiffCompression.`getCompressionCodecOptions(IFD ifd)` Creates a set of codec options for compression.
    `CodecOptions` | TiffCompression.`getCompressionCodecOptions(IFD ifd, CodecOptions opt)` Creates a set of codec options for compression.
    `byte[]` | TiffParser.`getSamples(IFD ifd, byte[] buf)`
    `byte[]` | TiffParser.`getSamples(IFD ifd, byte[] buf, int x, int y, long width, long height)`
    `byte[]` | TiffParser.`getSamples(IFD ifd, byte[] buf, int x, int y, long width, long height, int overlapX, int overlapY)`
    `IFDList` | TiffParser.`getSubIFDs(IFD ifd)` Returns the SUBIFDS belonging to a given IFD.
    `byte[]` | TiffParser.`getTile(IFD ifd, byte[] buf, int row, int col)`
    `void` | TiffSaver.`makeValidIFD(IFD ifd, int pixelType, int nChannels)` Makes a valid IFD.
    `static void` | TiffCompression.`undifference(byte[] input, IFD ifd)` Undoes in-place differencing according to the given predictor value.
    `static void` | TiffParser.`unpackBytes(byte[] samples, int startIndex, byte[] bytes, IFD ifd)` Extracts pixel information from the given byte array according to the bits per sample, photometric interpretation and color map IFD directory entry values, and the specified byte ordering.
    `void` | TiffSaver.`writeIFD(IFD ifd, long nextOffset)` Write the given IFD to the open stream.
    `void` | TiffSaver.`writeIFD(IFD ifd, long nextOffset, boolean calculateOffset)` Write the given IFD to the open stream.
    `private void` | TiffSaver.`writeIFDStrips(IFD ifd, int no, byte[][] strips, int nChannels, boolean last, int x, int y, long defaultByteCount)`
    `void` | TiffSaver.`writeImage(byte[] buf, IFD ifd, int no, int pixelType, boolean last)`
    `void` | TiffSaver.`writeImage(byte[] buf, IFD ifd, int no, int pixelType, int x, int y, int w, int h, boolean last)` Writes to any rectangle from the passed block.
    `void` | TiffSaver.`writeImage(byte[] buf, IFD ifd, int no, int pixelType, int x, int y, int w, int h, boolean last, java.lang.Integer nChannels, boolean copyDirectly)`
    `void` | TiffSaver.`writeImageIFD(IFD ifd, int no, byte[][] strips, int nChannels, boolean last, int x, int y)` Performs the actual work of dealing with IFD data and writing it to the TIFF for a given image or sub-image.

    Constructors in loci.formats.tiff with parameters of type IFD
    Constructor and Description
    `IFD(IFD ifd)`

Copyright © 2026 Open Microscopy Environment