public class EPSWriter extends FormatWriter
| Modifier and Type | Field and Description | 
|---|---|
| private static String | DUMMY_PIXEL | 
| private long | planeOffset | 
cm, compression, compressionTypes, fps, initialized, interleaved, metadataRetrieve, options, out, sequential, series, validBitsCOMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixes| Constructor and Description | 
|---|
| EPSWriter() | 
| Modifier and Type | Method and Description | 
|---|---|
| int[] | getPixelTypes(String codec)Gets the supported pixel types for the given codec. | 
| void | saveBytes(int no,
         byte[] buf,
         int x,
         int y,
         int w,
         int h)Saves the given image tile to the current series in the current file. | 
| private void | writeHeader() | 
canDoStacks, changeOutputFile, checkParams, close, createOutputStream, getColorModel, getCompression, getCompressionTypes, getFramesPerSecond, getMetadataRetrieve, getPixelTypes, getPlaneCount, getPlaneCount, getSamplesPerPixel, getSamplesPerPixel, getSeries, getTileSizeX, getTileSizeY, isFullPlane, isInterleaved, isSupportedType, saveBytes, saveBytes, savePlane, savePlane, savePlane, seekToPlaneOffset, setCodecOptions, setColorModel, setCompression, setFramesPerSecond, setId, setInterleaved, setMetadataRetrieve, setSeries, setTileSizeX, setTileSizeY, setValidBitsPerPixel, setWriteSequentiallycheckSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, isThisType, setMetadataOptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormat, getNativeDataType, getSuffixes, isThisTypegetMetadataOptions, getSupportedMetadataLevels, setMetadataOptionsprivate static final String DUMMY_PIXEL
private long planeOffset
public void saveBytes(int no,
                      byte[] buf,
                      int x,
                      int y,
                      int w,
                      int h)
               throws FormatException,
                      IOException
IFormatWriterno - the image index within the current file, starting from 0.buf - the byte array that represents the image tile.x - the X coordinate of the upper-left corner of the image tile.y - the Y coordinate of the upper-left corner of the image tile.w - the width (in pixels) of the image tile.h - the height (in pixels) of the image tile.FormatException - if one of the parameters is invalid.IOException - if there was a problem writing to the file.IFormatWriter.saveBytes(int, byte[], int, int, int, int)public int[] getPixelTypes(String codec)
IFormatWritergetPixelTypes in interface IFormatWritergetPixelTypes in class FormatWriterprivate void writeHeader()
                  throws IOException
IOExceptionCopyright © 2017 Open Microscopy Environment