Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
ImageWriter Class Reference

Public Member Functions

 ImageWriter (FileInfo fi)
 
void write (OutputStream out) throws IOException
 

Detailed Description

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

Definition at line 6 of file ImageWriter.java.

Member Function Documentation

void write ( OutputStream  out) throws IOException
inline

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.

Definition at line 163 of file ImageWriter.java.


The documentation for this class was generated from the following file: