Uses of Class
javax.imageio.ImageWriteParam
Package
Description
The main package of the Java Image I/O API.
Package containing the public classes used by the built-in BMP plug-in.
Classes supporting the built-in JPEG plug-in.
-
Uses of ImageWriteParam in javax.imageio
Modifier and TypeMethodDescriptionImageWriter.getDefaultWriteParam()
Returns a newImageWriteParam
object of the appropriate type for this file format containing default values, that is, those values that would be used if noImageWriteParam
object were specified.Modifier and TypeMethodDescriptionImageTranscoder.convertImageMetadata(IIOMetadata inData, ImageTypeSpecifier imageType, ImageWriteParam param)
Returns anIIOMetadata
object that may be used for encoding and optionally modified using its document interfaces or other interfaces specific to the writer plug-in that will be used for encoding.ImageTranscoder.convertStreamMetadata(IIOMetadata inData, ImageWriteParam param)
Returns anIIOMetadata
object that may be used for encoding and optionally modified using its document interfaces or other interfaces specific to the writer plug-in that will be used for encoding.abstract IIOMetadata
ImageWriter.getDefaultImageMetadata(ImageTypeSpecifier imageType, ImageWriteParam param)
Returns anIIOMetadata
object containing default values for encoding an image of the given type.abstract IIOMetadata
ImageWriter.getDefaultStreamMetadata(ImageWriteParam param)
Returns anIIOMetadata
object containing default values for encoding a stream of images.int
ImageWriter.getNumThumbnailsSupported(ImageTypeSpecifier imageType, ImageWriteParam param, IIOMetadata streamMetadata, IIOMetadata imageMetadata)
Returns the number of thumbnails supported by the format being written, given the image type and any additional write parameters and metadata objects that will be used during encoding.ImageWriter.getPreferredThumbnailSizes(ImageTypeSpecifier imageType, ImageWriteParam param, IIOMetadata streamMetadata, IIOMetadata imageMetadata)
Returns an array ofDimension
s indicating the legal size ranges for thumbnail images as they will be encoded in the output file or stream.void
ImageWriter.prepareInsertEmpty(int imageIndex, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param)
Begins the insertion of a new image with undefined pixel values into an existing image stream.void
ImageWriter.prepareWriteEmpty(IIOMetadata streamMetadata, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param)
Begins the writing of a complete image stream, consisting of a single image with undefined pixel values and associated metadata and thumbnails, to the output.void
ImageWriter.replacePixels(Raster raster, ImageWriteParam param)
Replaces a portion of an image already present in the output with a portion of the givenRaster
.void
ImageWriter.replacePixels(RenderedImage image, ImageWriteParam param)
Replaces a portion of an image already present in the output with a portion of the given image.abstract void
ImageWriter.write(IIOMetadata streamMetadata, IIOImage image, ImageWriteParam param)
Appends a complete image stream containing a single image and associated stream and image metadata and thumbnails to the output.void
ImageWriter.writeInsert(int imageIndex, IIOImage image, ImageWriteParam param)
Inserts a new image into an existing image stream.void
ImageWriter.writeToSequence(IIOImage image, ImageWriteParam param)
Appends a single image and possibly associated metadata and thumbnails, to the output. -
Uses of ImageWriteParam in javax.imageio.plugins.bmp
Modifier and TypeClassDescriptionclass
A subclass ofImageWriteParam
for encoding images in the BMP format. -
Uses of ImageWriteParam in javax.imageio.plugins.jpeg
Modifier and TypeClassDescriptionclass
This class adds the ability to set JPEG quantization and Huffman tables when using the built-in JPEG writer plug-in, and to request that optimized Huffman tables be computed for an image.