public class RawImageWriter extends ImageWriter
The encoding process may clip, subsample or select bands using the
parameters specified in the ImageWriteParam
.
Thus, when read this raw image the proper image data type
should be provided.
com.sun.media.imageio.plugins.RawImageWriteParam
availableLocales, locale, originatingProvider, output, progressListeners, warningListeners, warningLocales
Constructor and Description |
---|
RawImageWriter(ImageWriterSpi originator)
Constructs
RawImageWriter based on the provided
ImageWriterSpi . |
Modifier and Type | Method and Description |
---|---|
boolean |
canWriteRasters() |
IIOMetadata |
convertImageMetadata(IIOMetadata metadata,
ImageTypeSpecifier type,
ImageWriteParam param) |
IIOMetadata |
convertStreamMetadata(IIOMetadata inData,
ImageWriteParam param) |
IIOMetadata |
getDefaultImageMetadata(ImageTypeSpecifier imageType,
ImageWriteParam param) |
IIOMetadata |
getDefaultStreamMetadata(ImageWriteParam param) |
ImageWriteParam |
getDefaultWriteParam() |
int |
getHeight() |
int |
getWidth() |
void |
reset() |
void |
setOutput(Object output) |
void |
write(IIOMetadata streamMetadata,
IIOImage image,
ImageWriteParam param) |
abort, abortRequested, addIIOWriteProgressListener, addIIOWriteWarningListener, canInsertEmpty, canInsertImage, canRemoveImage, canReplaceImageMetadata, canReplacePixels, canReplaceStreamMetadata, canWriteEmpty, canWriteSequence, clearAbortRequest, dispose, endInsertEmpty, endReplacePixels, endWriteEmpty, endWriteSequence, getAvailableLocales, getLocale, getNumThumbnailsSupported, getOriginatingProvider, getOutput, getPreferredThumbnailSizes, prepareInsertEmpty, prepareReplacePixels, prepareWriteEmpty, prepareWriteSequence, processImageComplete, processImageProgress, processImageStarted, processThumbnailComplete, processThumbnailProgress, processThumbnailStarted, processWarningOccurred, processWarningOccurred, processWriteAborted, removeAllIIOWriteProgressListeners, removeAllIIOWriteWarningListeners, removeIIOWriteProgressListener, removeIIOWriteWarningListener, removeImage, replaceImageMetadata, replacePixels, replacePixels, replaceStreamMetadata, setLocale, write, write, writeInsert, writeToSequence
public RawImageWriter(ImageWriterSpi originator)
RawImageWriter
based on the provided
ImageWriterSpi
.public void setOutput(Object output)
setOutput
in class ImageWriter
public IIOMetadata getDefaultStreamMetadata(ImageWriteParam param)
getDefaultStreamMetadata
in class ImageWriter
public IIOMetadata getDefaultImageMetadata(ImageTypeSpecifier imageType, ImageWriteParam param)
getDefaultImageMetadata
in class ImageWriter
public IIOMetadata convertStreamMetadata(IIOMetadata inData, ImageWriteParam param)
convertStreamMetadata
in interface ImageTranscoder
convertStreamMetadata
in class ImageWriter
public IIOMetadata convertImageMetadata(IIOMetadata metadata, ImageTypeSpecifier type, ImageWriteParam param)
convertImageMetadata
in interface ImageTranscoder
convertImageMetadata
in class ImageWriter
public boolean canWriteRasters()
canWriteRasters
in class ImageWriter
public ImageWriteParam getDefaultWriteParam()
getDefaultWriteParam
in class ImageWriter
public void write(IIOMetadata streamMetadata, IIOImage image, ImageWriteParam param) throws IOException
write
in class ImageWriter
IOException
public int getWidth()
public int getHeight()
public void reset()
reset
in class ImageWriter
Copyright © 2014 Open Microscopy Environment