public class RawImageWriter
extends javax.imageio.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
Constructor and Description |
---|
RawImageWriter(javax.imageio.spi.ImageWriterSpi originator)
Constructs
RawImageWriter based on the provided
ImageWriterSpi . |
Modifier and Type | Method and Description |
---|---|
boolean |
canWriteRasters() |
javax.imageio.metadata.IIOMetadata |
convertImageMetadata(javax.imageio.metadata.IIOMetadata metadata,
javax.imageio.ImageTypeSpecifier type,
javax.imageio.ImageWriteParam param) |
javax.imageio.metadata.IIOMetadata |
convertStreamMetadata(javax.imageio.metadata.IIOMetadata inData,
javax.imageio.ImageWriteParam param) |
javax.imageio.metadata.IIOMetadata |
getDefaultImageMetadata(javax.imageio.ImageTypeSpecifier imageType,
javax.imageio.ImageWriteParam param) |
javax.imageio.metadata.IIOMetadata |
getDefaultStreamMetadata(javax.imageio.ImageWriteParam param) |
javax.imageio.ImageWriteParam |
getDefaultWriteParam() |
int |
getHeight() |
int |
getWidth() |
void |
reset() |
void |
setOutput(java.lang.Object output) |
void |
write(javax.imageio.metadata.IIOMetadata streamMetadata,
javax.imageio.IIOImage image,
javax.imageio.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(javax.imageio.spi.ImageWriterSpi originator)
RawImageWriter
based on the provided
ImageWriterSpi
.public void setOutput(java.lang.Object output)
setOutput
in class javax.imageio.ImageWriter
public javax.imageio.metadata.IIOMetadata getDefaultStreamMetadata(javax.imageio.ImageWriteParam param)
getDefaultStreamMetadata
in class javax.imageio.ImageWriter
public javax.imageio.metadata.IIOMetadata getDefaultImageMetadata(javax.imageio.ImageTypeSpecifier imageType, javax.imageio.ImageWriteParam param)
getDefaultImageMetadata
in class javax.imageio.ImageWriter
public javax.imageio.metadata.IIOMetadata convertStreamMetadata(javax.imageio.metadata.IIOMetadata inData, javax.imageio.ImageWriteParam param)
convertStreamMetadata
in interface javax.imageio.ImageTranscoder
convertStreamMetadata
in class javax.imageio.ImageWriter
public javax.imageio.metadata.IIOMetadata convertImageMetadata(javax.imageio.metadata.IIOMetadata metadata, javax.imageio.ImageTypeSpecifier type, javax.imageio.ImageWriteParam param)
convertImageMetadata
in interface javax.imageio.ImageTranscoder
convertImageMetadata
in class javax.imageio.ImageWriter
public boolean canWriteRasters()
canWriteRasters
in class javax.imageio.ImageWriter
public javax.imageio.ImageWriteParam getDefaultWriteParam()
getDefaultWriteParam
in class javax.imageio.ImageWriter
public void write(javax.imageio.metadata.IIOMetadata streamMetadata, javax.imageio.IIOImage image, javax.imageio.ImageWriteParam param) throws java.io.IOException
write
in class javax.imageio.ImageWriter
java.io.IOException
public int getWidth()
public int getHeight()
public void reset()
reset
in class javax.imageio.ImageWriter
Copyright © 2014 Open Microscopy Environment