public class BMPImageWriter extends javax.imageio.ImageWriter implements BMPConstants
ImageWriteParam
.BMPImageWriteParam
availableLocales, locale, originatingProvider, output, progressListeners, warningListeners, warningLocales
BI_BITFIELDS, BI_JPEG, BI_PNG, BI_RGB, BI_RLE4, BI_RLE8, compressionTypeNames, LCS_CALIBRATED_RGB, LCS_sRGB, LCS_WINDOWS_COLOR_SPACE, PROFILE_EMBEDDED, PROFILE_LINKED, VERSION_2, VERSION_3, VERSION_3_NT, VERSION_4, VERSION_5
Constructor and Description |
---|
BMPImageWriter(javax.imageio.spi.ImageWriterSpi originator)
Constructs
BMPImageWriter based on the provided
ImageWriterSpi . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEncodeImage(int compression,
java.awt.image.ColorModel cm,
java.awt.image.SampleModel sm) |
protected boolean |
canEncodeImage(int compression,
javax.imageio.ImageTypeSpecifier imgType) |
boolean |
canWriteRasters() |
javax.imageio.metadata.IIOMetadata |
convertImageMetadata(javax.imageio.metadata.IIOMetadata inData,
javax.imageio.ImageTypeSpecifier imageType,
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() |
void |
reset() |
void |
setOutput(java.lang.Object output) |
void |
write(javax.imageio.metadata.IIOMetadata streamMetadata,
javax.imageio.IIOImage image,
javax.imageio.ImageWriteParam param) |
protected void |
writeMaskToPalette(int mask,
int i,
byte[] r,
byte[] g,
byte[] b,
byte[] a) |
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 BMPImageWriter(javax.imageio.spi.ImageWriterSpi originator)
BMPImageWriter
based on the provided
ImageWriterSpi
.public void setOutput(java.lang.Object output)
setOutput
in class javax.imageio.ImageWriter
public javax.imageio.ImageWriteParam getDefaultWriteParam()
getDefaultWriteParam
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 inData, javax.imageio.ImageTypeSpecifier imageType, 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 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 void reset()
reset
in class javax.imageio.ImageWriter
protected boolean canEncodeImage(int compression, java.awt.image.ColorModel cm, java.awt.image.SampleModel sm)
protected boolean canEncodeImage(int compression, javax.imageio.ImageTypeSpecifier imgType)
protected void writeMaskToPalette(int mask, int i, byte[] r, byte[] g, byte[] b, byte[] a)
Copyright © 2014 Open Microscopy Environment