Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ij.io
Class ImageWriter

    java.lang.Object
      ij.io.ImageWriter

public class ImageWriter
extends java.lang.Object

Writes a raw image described by a FileInfo object to an OutputStream.

Constructor Summary
`ImageWriter(FileInfo fi)`

Method Summary
`void` | `write(java.io.OutputStream out)` Writes the image to the specified OutputStream.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ImageWriter

    public ImageWriter(FileInfo fi)

Method Detail

### write

    public void write(java.io.OutputStream out)
               throws java.io.IOException

  Writes the image to the specified OutputStream. 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, for example an array of images returned by ImageStack.getImageArray()). The fi.offset field is ignored.

  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD