| java.lang.Object javax.imageio.ImageWriter com.sun.media.imageioimpl.plugins.clib.CLibImageWriter
All known Subclasses: com.sun.media.imageioimpl.plugins.png.CLibPNGImageWriter, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter,
getMediaLibImage | protected mediaLibImage getMediaLibImage(RenderedImage image, ImageWriteParam param, boolean allowBilevel, int[] supportedFormats)(Code) | | Returns a mediaLibImage for a specific encoder to use
to encode image .
Parameters: image - The image to encode. Parameters: param - The write parameters. Parameters: allowBilevel - Whether bilevel images are allowed. A bilevelimage must have one 1-bit sample per pixel, have data typeDataBuffer.TYE_BYTE , and have aMultiPixelPackedSampleModel . Parameters: supportedFormats - An array containing constan values fromthe set of mediaLibImage.MLIB_FORMAT enums. throws: IllegalArgumentException - if supportedFormats is null . A mediaLibImage in a format capable of being writtenby the encoder. |
Methods inherited from javax.imageio.ImageWriter | public synchronized void abort()(Code)(Java Doc) protected synchronized boolean abortRequested()(Code)(Java Doc) public void addIIOWriteProgressListener(IIOWriteProgressListener listener)(Code)(Java Doc) public void addIIOWriteWarningListener(IIOWriteWarningListener listener)(Code)(Java Doc) public boolean canInsertEmpty(int imageIndex) throws IOException(Code)(Java Doc) public boolean canInsertImage(int imageIndex) throws IOException(Code)(Java Doc) public boolean canRemoveImage(int imageIndex) throws IOException(Code)(Java Doc) public boolean canReplaceImageMetadata(int imageIndex) throws IOException(Code)(Java Doc) public boolean canReplacePixels(int imageIndex) throws IOException(Code)(Java Doc) public boolean canReplaceStreamMetadata() throws IOException(Code)(Java Doc) public boolean canWriteEmpty() throws IOException(Code)(Java Doc) public boolean canWriteRasters()(Code)(Java Doc) public boolean canWriteSequence()(Code)(Java Doc) protected synchronized void clearAbortRequest()(Code)(Java Doc) abstract public IIOMetadata convertImageMetadata(IIOMetadata inData, ImageTypeSpecifier imageType, ImageWriteParam param)(Code)(Java Doc) abstract public IIOMetadata convertStreamMetadata(IIOMetadata inData, ImageWriteParam param)(Code)(Java Doc) public void dispose()(Code)(Java Doc) public void endInsertEmpty() throws IOException(Code)(Java Doc) public void endReplacePixels() throws IOException(Code)(Java Doc) public void endWriteEmpty() throws IOException(Code)(Java Doc) public void endWriteSequence() throws IOException(Code)(Java Doc) public Locale[] getAvailableLocales()(Code)(Java Doc) abstract public IIOMetadata getDefaultImageMetadata(ImageTypeSpecifier imageType, ImageWriteParam param)(Code)(Java Doc) abstract public IIOMetadata getDefaultStreamMetadata(ImageWriteParam param)(Code)(Java Doc) public ImageWriteParam getDefaultWriteParam()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public int getNumThumbnailsSupported(ImageTypeSpecifier imageType, ImageWriteParam param, IIOMetadata streamMetadata, IIOMetadata imageMetadata)(Code)(Java Doc) public ImageWriterSpi getOriginatingProvider()(Code)(Java Doc) public Object getOutput()(Code)(Java Doc) public Dimension[] getPreferredThumbnailSizes(ImageTypeSpecifier imageType, ImageWriteParam param, IIOMetadata streamMetadata, IIOMetadata imageMetadata)(Code)(Java Doc) public void prepareInsertEmpty(int imageIndex, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param) throws IOException(Code)(Java Doc) public void prepareReplacePixels(int imageIndex, Rectangle region) throws IOException(Code)(Java Doc) public void prepareWriteEmpty(IIOMetadata streamMetadata, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param) throws IOException(Code)(Java Doc) public void prepareWriteSequence(IIOMetadata streamMetadata) throws IOException(Code)(Java Doc) protected void processImageComplete()(Code)(Java Doc) protected void processImageProgress(float percentageDone)(Code)(Java Doc) protected void processImageStarted(int imageIndex)(Code)(Java Doc) protected void processThumbnailComplete()(Code)(Java Doc) protected void processThumbnailProgress(float percentageDone)(Code)(Java Doc) protected void processThumbnailStarted(int imageIndex, int thumbnailIndex)(Code)(Java Doc) protected void processWarningOccurred(int imageIndex, String warning)(Code)(Java Doc) protected void processWarningOccurred(int imageIndex, String baseName, String keyword)(Code)(Java Doc) protected void processWriteAborted()(Code)(Java Doc) public void removeAllIIOWriteProgressListeners()(Code)(Java Doc) public void removeAllIIOWriteWarningListeners()(Code)(Java Doc) public void removeIIOWriteProgressListener(IIOWriteProgressListener listener)(Code)(Java Doc) public void removeIIOWriteWarningListener(IIOWriteWarningListener listener)(Code)(Java Doc) public void removeImage(int imageIndex) throws IOException(Code)(Java Doc) public void replaceImageMetadata(int imageIndex, IIOMetadata imageMetadata) throws IOException(Code)(Java Doc) public void replacePixels(RenderedImage image, ImageWriteParam param) throws IOException(Code)(Java Doc) public void replacePixels(Raster raster, ImageWriteParam param) throws IOException(Code)(Java Doc) public void replaceStreamMetadata(IIOMetadata streamMetadata) throws IOException(Code)(Java Doc) public void reset()(Code)(Java Doc) public void setLocale(Locale locale)(Code)(Java Doc) public void setOutput(Object output)(Code)(Java Doc) abstract public void write(IIOMetadata streamMetadata, IIOImage image, ImageWriteParam param) throws IOException(Code)(Java Doc) public void write(IIOImage image) throws IOException(Code)(Java Doc) public void write(RenderedImage image) throws IOException(Code)(Java Doc) public void writeInsert(int imageIndex, IIOImage image, ImageWriteParam param) throws IOException(Code)(Java Doc) public void writeToSequence(IIOImage image, ImageWriteParam param) throws IOException(Code)(Java Doc)
|
|
|