Module ij
Package ij.io

Class TiffEncoder

java.lang.Object
ij.io.TiffEncoder

public class TiffEncoder
extends java.lang.Object
Saves an image described by a FileInfo object as an uncompressed TIFF file.
  • Constructor Summary

    Constructors 
    Constructor Description
    TiffEncoder​(FileInfo fi)  
  • Method Summary

    Modifier and Type Method Description
    void write​(java.io.DataOutputStream out)  
    void write​(java.io.OutputStream out)
    Saves the image as a TIFF file.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • write

      public void write​(java.io.OutputStream out) throws java.io.IOException
      Saves the image as a TIFF file. The OutputStream is not closed. The fi.pixels field must contain the image data. If fi.nImages>1 then fi.pixels must be a 2D array. The fi.offset field is ignored.
      Throws:
      java.io.IOException
    • write

      public void write​(java.io.DataOutputStream out) throws java.io.IOException
      Throws:
      java.io.IOException