Uses of Class
java.awt.image.BufferedImage
-
Packages that use BufferedImage 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.image 提供用于创建和修改图像的类。javax.imageio Java Image I / O API的主要包。javax.imageio.event Java Image I / O API的一个包,用于处理读取和写入图像期间事件的同步通知。 -
-
Uses of BufferedImage in java.awt
Methods in java.awt that return BufferedImage 变量和类型 方法 描述 BufferedImage
GraphicsConfiguration. createCompatibleImage(int width, int height)
返回BufferedImage
,其数据布局和颜色模型与此GraphicsConfiguration
兼容。BufferedImage
GraphicsConfiguration. createCompatibleImage(int width, int height, int transparency)
返回支持指定透明度的BufferedImage
,并具有与此GraphicsConfiguration
兼容的数据布局和颜色模型。BufferedImage
Robot. createScreenCapture(Rectangle screenRect)
创建包含从屏幕读取的像素的图像。BufferedImage
TexturePaint. getImage()
返回用于填充形状的BufferedImage
纹理。Methods in java.awt with parameters of type BufferedImage 变量和类型 方法 描述 abstract Graphics2D
GraphicsEnvironment. createGraphics(BufferedImage img)
返回Graphics2D
对象以呈现到指定的BufferedImage
中 。abstract void
Graphics2D. drawImage(BufferedImage img, BufferedImageOp op, int x, int y)
呈现BufferedImage
,使用BufferedImageOp
过滤。Constructors in java.awt with parameters of type BufferedImage 构造器 描述 TexturePaint(BufferedImage txtr, Rectangle2D anchor)
构造一个TexturePaint
对象。 -
Uses of BufferedImage in java.awt.image
Methods in java.awt.image that return BufferedImage 变量和类型 方法 描述 BufferedImage
IndexColorModel. convertToIntDiscrete(Raster raster, boolean forceARGB)
返回一个新BufferedImage
TYPE_INT_ARGB或TYPE_INT_RGB的具有Raster
通过展开源的索引来计算的与像素数据Raster
使用此的颜色/ alpha分量数组ColorModel
。BufferedImage
AffineTransformOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
创建具有正确大小和波段数的归零目标图像。BufferedImage
BufferedImageOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
创建具有正确大小和波段数的归零目标图像。BufferedImage
ColorConvertOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
在给定此源的情况下,使用正确的大小和波段数创建归零的目标图像。BufferedImage
ConvolveOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
创建具有正确大小和波段数的归零目标图像。BufferedImage
LookupOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
创建具有正确大小和波段数的归零目标图像。BufferedImage
RescaleOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
创建具有正确大小和波段数的归零目标图像。BufferedImage
AffineTransformOp. filter(BufferedImage src, BufferedImage dst)
转换源BufferedImage
并将结果存储在目标BufferedImage
。BufferedImage
BufferedImageOp. filter(BufferedImage src, BufferedImage dest)
在BufferedImage
上执行单输入/单输出操作。BufferedImage
ColorConvertOp. filter(BufferedImage src, BufferedImage dest)
ColorConverts源BufferedImage。BufferedImage
ConvolveOp. filter(BufferedImage src, BufferedImage dst)
在BufferedImages上执行卷积。BufferedImage
LookupOp. filter(BufferedImage src, BufferedImage dst)
在BufferedImage
上执行查找操作。BufferedImage
RescaleOp. filter(BufferedImage src, BufferedImage dst)
重新调整源BufferedImage。abstract BufferedImage
VolatileImage. getSnapshot()
返回此对象的静态快照图像。BufferedImage
BufferedImage. getSubimage(int x, int y, int w, int h)
返回由指定矩形区域定义的子图像。Methods in java.awt.image with parameters of type BufferedImage 变量和类型 方法 描述 BufferedImage
AffineTransformOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
创建具有正确大小和波段数的归零目标图像。BufferedImage
BufferedImageOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
创建具有正确大小和波段数的归零目标图像。BufferedImage
ColorConvertOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
在给定此源的情况下,使用正确的大小和波段数创建归零的目标图像。BufferedImage
ConvolveOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
创建具有正确大小和波段数的归零目标图像。BufferedImage
LookupOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
创建具有正确大小和波段数的归零目标图像。BufferedImage
RescaleOp. createCompatibleDestImage(BufferedImage src, ColorModel destCM)
创建具有正确大小和波段数的归零目标图像。BufferedImage
AffineTransformOp. filter(BufferedImage src, BufferedImage dst)
转换源BufferedImage
并将结果存储在目标BufferedImage
。BufferedImage
BufferedImageOp. filter(BufferedImage src, BufferedImage dest)
在BufferedImage
上执行单输入/单输出操作。BufferedImage
ColorConvertOp. filter(BufferedImage src, BufferedImage dest)
ColorConverts源BufferedImage。BufferedImage
ConvolveOp. filter(BufferedImage src, BufferedImage dst)
在BufferedImages上执行卷积。BufferedImage
LookupOp. filter(BufferedImage src, BufferedImage dst)
在BufferedImage
上执行查找操作。BufferedImage
RescaleOp. filter(BufferedImage src, BufferedImage dst)
重新调整源BufferedImage。Rectangle2D
AffineTransformOp. getBounds2D(BufferedImage src)
返回已转换目标的边界框。Rectangle2D
BufferedImageOp. getBounds2D(BufferedImage src)
返回已过滤目标图像的边界框。Rectangle2D
ColorConvertOp. getBounds2D(BufferedImage src)
给定此源,返回目标的边界框。Rectangle2D
ConvolveOp. getBounds2D(BufferedImage src)
返回已过滤目标图像的边界框。Rectangle2D
LookupOp. getBounds2D(BufferedImage src)
返回已过滤目标图像的边界框。Rectangle2D
RescaleOp. getBounds2D(BufferedImage src)
返回重新缩放的目标图像的边界框。 -
Uses of BufferedImage in javax.imageio
Fields in javax.imageio declared as BufferedImage 变量和类型 字段 描述 protected BufferedImage
ImageReadParam. destination
当前目的地BufferedImage
,如果没有设置,null
。Fields in javax.imageio with type parameters of type BufferedImage 变量和类型 字段 描述 protected List<? extends BufferedImage>
IIOImage. thumbnails
List
的BufferedImage
缩略图,或null
。Methods in javax.imageio that return BufferedImage 变量和类型 方法 描述 BufferedImage
ImageTypeSpecifier. createBufferedImage(int width, int height)
根据此对象中包含的规范创建具有给定宽度和高度的BufferedImage
。protected static BufferedImage
ImageReader. getDestination(ImageReadParam param, Iterator<ImageTypeSpecifier> imageTypes, int width, int height)
返回应写入解码像素数据的BufferedImage
。BufferedImage
ImageReadParam. getDestination()
返回BufferedImage
当前由设置setDestination
方法,或null
,如果没有设置。BufferedImage
IIOImage. getThumbnail(int index)
返回与主图像关联的缩略图。static BufferedImage
ImageIO. read(File input)
返回BufferedImage
作为解码所提供的File
的结果,其中ImageReader
是从当前注册的那些中自动选择的。static BufferedImage
ImageIO. read(InputStream input)
返回BufferedImage
作为解码所提供的InputStream
的结果,其中ImageReader
是从当前注册的那些中自动选择的。static BufferedImage
ImageIO. read(URL input)
返回BufferedImage
作为解码所提供的URL
的结果,其中ImageReader
是从当前注册的那些中自动选择的。static BufferedImage
ImageIO. read(ImageInputStream stream)
返回BufferedImage
作为解码所提供的ImageInputStream
的结果,其中ImageReader
是从当前注册的那些中自动选择的。BufferedImage
ImageReader. read(int imageIndex)
读取由imageIndex
索引的图像,并使用默认值ImageReadParam
将其作为完整的BufferedImage
返回。abstract BufferedImage
ImageReader. read(int imageIndex, ImageReadParam param)
读取由imageIndex
索引的图像,并使用提供的ImageReadParam
将其作为完整的BufferedImage
返回。BufferedImage
ImageReader. readThumbnail(int imageIndex, int thumbnailIndex)
返回由thumbnailIndex
索引的缩略图预览图像,该图像与ImageIndex
索引的图像相关联,为BufferedImage
。BufferedImage
ImageReader. readTile(int imageIndex, int tileX, int tileY)
读取tileX
和tileY
参数指示的tileX
tileY
,将其返回为BufferedImage
。Methods in javax.imageio that return types with arguments of type BufferedImage 变量和类型 方法 描述 List<? extends BufferedImage>
IIOImage. getThumbnails()
返回当前List
缩略图BufferedImage
S,或null
,如果没有设置。Methods in javax.imageio with parameters of type BufferedImage 变量和类型 方法 描述 protected static void
ImageReader. computeRegions(ImageReadParam param, int srcWidth, int srcHeight, BufferedImage image, Rectangle srcRegion, Rectangle destRegion)
计算感兴趣的源区域和感兴趣的目标区域,考虑源图像的宽度和高度,可选的目标图像以及可选的ImageReadParam
。protected void
ImageReader. processImageUpdate(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)
通过调用imageUpdate
方法将一组样本的更新广播到所有已注册的IIOReadUpdateListener
s。protected void
ImageReader. processPassComplete(BufferedImage theImage)
通过调用他们的passComplete
方法将渐进传递的结束广播到所有已注册的IIOReadUpdateListener
。protected void
ImageReader. processPassStarted(BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)
通过调用他们的passStarted
方法,将渐进传递的开始广播到所有已注册的IIOReadUpdateListener
。protected void
ImageReader. processThumbnailPassComplete(BufferedImage theThumbnail)
通过调用thumbnailPassComplete
方法将缩略图渐进传递的结尾广播到所有已注册的IIOReadUpdateListener
。protected void
ImageReader. processThumbnailPassStarted(BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)
通过调用其thumbnailPassStarted
方法,将缩略图渐进传递的开头广播到所有已注册的IIOReadUpdateListener
。protected void
ImageReader. processThumbnailUpdate(BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)
通过调用其thumbnailUpdate
方法,将缩略图图像中的一组样本的更新广播到所有已注册的IIOReadUpdateListener
。void
ImageReadParam. setDestination(BufferedImage destination)
提供BufferedImage
以用作解码像素数据的目的地。Method parameters in javax.imageio with type arguments of type BufferedImage 变量和类型 方法 描述 void
ImageWriter. prepareInsertEmpty(int imageIndex, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param)
开始将具有未定义像素值的新图像插入到现有图像流中。void
ImageWriter. prepareWriteEmpty(IIOMetadata streamMetadata, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param)
开始编写完整的图像流,包括具有未定义像素值的单个图像以及相关的元数据和缩略图,到输出。void
IIOImage. setThumbnails(List<? extends BufferedImage> thumbnails)
将缩略图列表设置为新的List
(BufferedImage
s)或null
。Constructor parameters in javax.imageio with type arguments of type BufferedImage 构造器 描述 IIOImage(Raster raster, List<? extends BufferedImage> thumbnails, IIOMetadata metadata)
构造一个IIOImage
含有Raster
,和缩略图和元数据与之相关联。IIOImage(RenderedImage image, List<? extends BufferedImage> thumbnails, IIOMetadata metadata)
构造一个IIOImage
含有RenderedImage
,和缩略图和元数据与之相关联。 -
Uses of BufferedImage in javax.imageio.event
Methods in javax.imageio.event with parameters of type BufferedImage 变量和类型 方法 描述 void
IIOReadUpdateListener. imageUpdate(ImageReader source, BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)
报告图像的给定区域已更新。void
IIOReadUpdateListener. passComplete(ImageReader source, BufferedImage theImage)
报告当前读取操作已完成渐进式传递。void
IIOReadUpdateListener. passStarted(ImageReader source, BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)
报告当前的读取操作即将开始逐步传递。void
IIOReadUpdateListener. thumbnailPassComplete(ImageReader source, BufferedImage theThumbnail)
报告当前缩略图读取操作已完成渐进式传递。void
IIOReadUpdateListener. thumbnailPassStarted(ImageReader source, BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)
报告当前缩略图读取操作即将开始逐步传递。void
IIOReadUpdateListener. thumbnailUpdate(ImageReader source, BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands)
报告已更新缩略图图像的给定区域。
-