Uses of Class
javax.imageio.ImageReadParam
-
Packages that use ImageReadParam Package Description javax.imageio The main package of the Java Image I/O API.javax.imageio.plugins.jpeg Classes supporting the built-in JPEG plug-in.javax.imageio.plugins.tiff Public classes used by the built-in TIFF plug-ins. -
-
Uses of ImageReadParam in javax.imageio
Methods in javax.imageio that return ImageReadParam Modifier and Type Method Description ImageReadParam
ImageReader. getDefaultReadParam()
Returns a defaultImageReadParam
object appropriate for this format.Methods in javax.imageio with parameters of type ImageReadParam Modifier and Type Method Description protected static void
ImageReader. checkReadParamBandSettings(ImageReadParam param, int numSrcBands, int numDstBands)
A utility method that may be used by readers to test the validity of the source and destination band settings of anImageReadParam
.protected static void
ImageReader. computeRegions(ImageReadParam param, int srcWidth, int srcHeight, BufferedImage image, Rectangle srcRegion, Rectangle destRegion)
Computes the source region of interest and the destination region of interest, taking the width and height of the source image, an optional destination image, and an optionalImageReadParam
into account.protected static BufferedImage
ImageReader. getDestination(ImageReadParam param, Iterator<ImageTypeSpecifier> imageTypes, int width, int height)
Returns theBufferedImage
to which decoded pixel data should be written.protected static Rectangle
ImageReader. getSourceRegion(ImageReadParam param, int srcWidth, int srcHeight)
A utility method that may be used by readers to compute the region of the source image that should be read, taking into account any source region and subsampling offset settings in the suppliedImageReadParam
.abstract BufferedImage
ImageReader. read(int imageIndex, ImageReadParam param)
Reads the image indexed byimageIndex
and returns it as a completeBufferedImage
, using a suppliedImageReadParam
.IIOImage
ImageReader. readAll(int imageIndex, ImageReadParam param)
Reads the image indexed byimageIndex
and returns anIIOImage
containing the image, thumbnails, and associated image metadata, using a suppliedImageReadParam
.RenderedImage
ImageReader. readAsRenderedImage(int imageIndex, ImageReadParam param)
Returns aRenderedImage
object that contains the contents of the image indexed byimageIndex
.Raster
ImageReader. readRaster(int imageIndex, ImageReadParam param)
Returns a newRaster
object containing the raw pixel data from the image stream, without any color conversion applied.Method parameters in javax.imageio with type arguments of type ImageReadParam Modifier and Type Method Description Iterator<IIOImage>
ImageReader. readAll(Iterator<? extends ImageReadParam> params)
Returns anIterator
containing all the images, thumbnails, and metadata, starting at the index given bygetMinIndex
, from the input source in the form ofIIOImage
objects. -
Uses of ImageReadParam in javax.imageio.plugins.jpeg
Subclasses of ImageReadParam in javax.imageio.plugins.jpeg Modifier and Type Class Description class
JPEGImageReadParam
This class adds the ability to set JPEG quantization and Huffman tables when using the built-in JPEG reader plug-in. -
Uses of ImageReadParam in javax.imageio.plugins.tiff
Subclasses of ImageReadParam in javax.imageio.plugins.tiff Modifier and Type Class Description class
TIFFImageReadParam
A subclass ofImageReadParam
allowing control over the TIFF reading process.
-