Uses of Class
java.awt.image.BufferedImage
-
Packages that use BufferedImage Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.image Provides classes for creating and modifying images.javax.imageio The main package of the Java Image I/O API.javax.imageio.event A package of the Java Image I/O API dealing with synchronous notification of events during the reading and writing of images. -
-
Uses of BufferedImage in java.awt
Methods in java.awt that return BufferedImage Modifier and Type Method Description BufferedImageGraphicsConfiguration. createCompatibleImage(int width, int height)Returns aBufferedImagewith a data layout and color model compatible with thisGraphicsConfiguration.BufferedImageGraphicsConfiguration. createCompatibleImage(int width, int height, int transparency)Returns aBufferedImagethat supports the specified transparency and has a data layout and color model compatible with thisGraphicsConfiguration.BufferedImageRobot. createScreenCapture(Rectangle screenRect)Creates an image containing pixels read from the screen.BufferedImageTexturePaint. getImage()Returns theBufferedImagetexture used to fill the shapes.Methods in java.awt with parameters of type BufferedImage Modifier and Type Method Description abstract Graphics2DGraphicsEnvironment. createGraphics(BufferedImage img)Returns aGraphics2Dobject for rendering into the specifiedBufferedImage.abstract voidGraphics2D. drawImage(BufferedImage img, BufferedImageOp op, int x, int y)Renders aBufferedImagethat is filtered with aBufferedImageOp.Constructors in java.awt with parameters of type BufferedImage Constructor Description TexturePaint(BufferedImage txtr, Rectangle2D anchor)Constructs aTexturePaintobject. -
Uses of BufferedImage in java.awt.image
Methods in java.awt.image that return BufferedImage Modifier and Type Method Description BufferedImageIndexColorModel. convertToIntDiscrete(Raster raster, boolean forceARGB)Returns a newBufferedImageof TYPE_INT_ARGB or TYPE_INT_RGB that has aRasterwith pixel data computed by expanding the indices in the sourceRasterusing the color/alpha component arrays of thisColorModel.BufferedImageAffineTransformOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands.BufferedImageBufferedImageOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands.BufferedImageColorConvertOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands, given this source.BufferedImageConvolveOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands.BufferedImageLookupOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands.BufferedImageRescaleOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands.BufferedImageAffineTransformOp. filter(BufferedImage src, BufferedImage dst)Transforms the sourceBufferedImageand stores the results in the destinationBufferedImage.BufferedImageBufferedImageOp. filter(BufferedImage src, BufferedImage dest)Performs a single-input/single-output operation on aBufferedImage.BufferedImageColorConvertOp. filter(BufferedImage src, BufferedImage dest)ColorConverts the source BufferedImage.BufferedImageConvolveOp. filter(BufferedImage src, BufferedImage dst)Performs a convolution on BufferedImages.BufferedImageLookupOp. filter(BufferedImage src, BufferedImage dst)Performs a lookup operation on aBufferedImage.BufferedImageRescaleOp. filter(BufferedImage src, BufferedImage dst)Rescales the source BufferedImage.abstract BufferedImageVolatileImage. getSnapshot()Returns a static snapshot image of this object.BufferedImageBufferedImage. getSubimage(int x, int y, int w, int h)Returns a subimage defined by a specified rectangular region.Methods in java.awt.image with parameters of type BufferedImage Modifier and Type Method Description BufferedImageAffineTransformOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands.BufferedImageBufferedImageOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands.BufferedImageColorConvertOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands, given this source.BufferedImageConvolveOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands.BufferedImageLookupOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands.BufferedImageRescaleOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)Creates a zeroed destination image with the correct size and number of bands.BufferedImageAffineTransformOp. filter(BufferedImage src, BufferedImage dst)Transforms the sourceBufferedImageand stores the results in the destinationBufferedImage.BufferedImageBufferedImageOp. filter(BufferedImage src, BufferedImage dest)Performs a single-input/single-output operation on aBufferedImage.BufferedImageColorConvertOp. filter(BufferedImage src, BufferedImage dest)ColorConverts the source BufferedImage.BufferedImageConvolveOp. filter(BufferedImage src, BufferedImage dst)Performs a convolution on BufferedImages.BufferedImageLookupOp. filter(BufferedImage src, BufferedImage dst)Performs a lookup operation on aBufferedImage.BufferedImageRescaleOp. filter(BufferedImage src, BufferedImage dst)Rescales the source BufferedImage.Rectangle2DAffineTransformOp. getBounds2D(BufferedImage src)Returns the bounding box of the transformed destination.Rectangle2DBufferedImageOp. getBounds2D(BufferedImage src)Returns the bounding box of the filtered destination image.Rectangle2DColorConvertOp. getBounds2D(BufferedImage src)Returns the bounding box of the destination, given this source.Rectangle2DConvolveOp. getBounds2D(BufferedImage src)Returns the bounding box of the filtered destination image.Rectangle2DLookupOp. getBounds2D(BufferedImage src)Returns the bounding box of the filtered destination image.Rectangle2DRescaleOp. getBounds2D(BufferedImage src)Returns the bounding box of the rescaled destination image. -
Uses of BufferedImage in javax.imageio
Fields in javax.imageio declared as BufferedImage Modifier and Type Field Description protected BufferedImageImageReadParam. destinationThe current destinationBufferedImage, ornullif none has been set.Fields in javax.imageio with type parameters of type BufferedImage Modifier and Type Field Description protected List<? extends BufferedImage>IIOImage. thumbnailsAListofBufferedImagethumbnails, ornull.Methods in javax.imageio that return BufferedImage Modifier and Type Method Description BufferedImageImageTypeSpecifier. createBufferedImage(int width, int height)Creates aBufferedImagewith a given width and height according to the specification embodied in this object.protected static BufferedImageImageReader. getDestination(ImageReadParam param, Iterator<ImageTypeSpecifier> imageTypes, int width, int height)Returns theBufferedImageto which decoded pixel data should be written.BufferedImageImageReadParam. getDestination()Returns theBufferedImagecurrently set by thesetDestinationmethod, ornullif none is set.BufferedImageIIOImage. getThumbnail(int index)Returns a thumbnail associated with the main image.static BufferedImageImageIO. read(File input)Returns aBufferedImageas the result of decoding a suppliedFilewith anImageReaderchosen automatically from among those currently registered.static BufferedImageImageIO. read(InputStream input)Returns aBufferedImageas the result of decoding a suppliedInputStreamwith anImageReaderchosen automatically from among those currently registered.static BufferedImageImageIO. read(URL input)Returns aBufferedImageas the result of decoding a suppliedURLwith anImageReaderchosen automatically from among those currently registered.static BufferedImageImageIO. read(ImageInputStream stream)Returns aBufferedImageas the result of decoding a suppliedImageInputStreamwith anImageReaderchosen automatically from among those currently registered.BufferedImageImageReader. read(int imageIndex)Reads the image indexed byimageIndexand returns it as a completeBufferedImage, using a defaultImageReadParam.abstract BufferedImageImageReader. read(int imageIndex, ImageReadParam param)Reads the image indexed byimageIndexand returns it as a completeBufferedImage, using a suppliedImageReadParam.BufferedImageImageReader. readThumbnail(int imageIndex, int thumbnailIndex)Returns the thumbnail preview image indexed bythumbnailIndex, associated with the image indexed byImageIndexas aBufferedImage.BufferedImageImageReader. readTile(int imageIndex, int tileX, int tileY)Reads the tile indicated by thetileXandtileYarguments, returning it as aBufferedImage.Methods in javax.imageio that return types with arguments of type BufferedImage Modifier and Type Method Description List<? extends BufferedImage>IIOImage. getThumbnails()Returns the currentListof thumbnailBufferedImages, ornullif none is set.Methods in javax.imageio with parameters of type BufferedImage Modifier and Type Method Description protected static voidImageReader. 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 optionalImageReadParaminto account.protected voidImageReader. processImageUpdate(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)Broadcasts the update of a set of samples to all registeredIIOReadUpdateListeners by calling theirimageUpdatemethod.protected voidImageReader. processPassComplete(BufferedImage theImage)Broadcasts the end of a progressive pass to all registeredIIOReadUpdateListeners by calling theirpassCompletemethod.protected voidImageReader. processPassStarted(BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)Broadcasts the beginning of a progressive pass to all registeredIIOReadUpdateListeners by calling theirpassStartedmethod.protected voidImageReader. processThumbnailPassComplete(BufferedImage theThumbnail)Broadcasts the end of a thumbnail progressive pass to all registeredIIOReadUpdateListeners by calling theirthumbnailPassCompletemethod.protected voidImageReader. processThumbnailPassStarted(BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)Broadcasts the beginning of a thumbnail progressive pass to all registeredIIOReadUpdateListeners by calling theirthumbnailPassStartedmethod.protected voidImageReader. processThumbnailUpdate(BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)Broadcasts the update of a set of samples in a thumbnail image to all registeredIIOReadUpdateListeners by calling theirthumbnailUpdatemethod.voidImageReadParam. setDestination(BufferedImage destination)Supplies aBufferedImageto be used as the destination for decoded pixel data.Method parameters in javax.imageio with type arguments of type BufferedImage Modifier and Type Method Description voidImageWriter. 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.voidImageWriter. 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.voidIIOImage. setThumbnails(List<? extends BufferedImage> thumbnails)Sets the list of thumbnails to a newListofBufferedImages, or tonull.Constructor parameters in javax.imageio with type arguments of type BufferedImage Constructor Description IIOImage(Raster raster, List<? extends BufferedImage> thumbnails, IIOMetadata metadata)Constructs anIIOImagecontaining aRaster, and thumbnails and metadata associated with it.IIOImage(RenderedImage image, List<? extends BufferedImage> thumbnails, IIOMetadata metadata)Constructs anIIOImagecontaining aRenderedImage, and thumbnails and metadata associated with it. -
Uses of BufferedImage in javax.imageio.event
Methods in javax.imageio.event with parameters of type BufferedImage Modifier and Type Method Description voidIIOReadUpdateListener. imageUpdate(ImageReader source, BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)Reports that a given region of the image has been updated.voidIIOReadUpdateListener. passComplete(ImageReader source, BufferedImage theImage)Reports that the current read operation has completed a progressive pass.voidIIOReadUpdateListener. passStarted(ImageReader source, BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)Reports that the current read operation is about to begin a progressive pass.voidIIOReadUpdateListener. thumbnailPassComplete(ImageReader source, BufferedImage theThumbnail)Reports that the current thumbnail read operation has completed a progressive pass.voidIIOReadUpdateListener. thumbnailPassStarted(ImageReader source, BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)Reports that the current thumbnail read operation is about to begin a progressive pass.voidIIOReadUpdateListener. thumbnailUpdate(ImageReader source, BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)Reports that a given region of a thumbnail image has been updated.
-