Uses of Class
java.awt.image.BufferedImage
-
Packages that use BufferedImage 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.image 提供创建和修改图像的类。javafx.embed.swing 提供一组在Swing应用程序中使用JavaFX的类。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 Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 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 Constructor 描述 TexturePaint(BufferedImage txtr, Rectangle2D anchor)
构造一个TexturePaint
对象。 -
Uses of BufferedImage in java.awt.image
Methods in java.awt.image that return BufferedImage Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 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 javafx.embed.swing
Methods in javafx.embed.swing that return BufferedImage Modifier and Type 方法 描述 static BufferedImage
SwingFXUtils. fromFXImage(Image img, BufferedImage bimg)
快照指定的JavaFXImage
对象,并将其像素的副本存储到一个BufferedImage
对象中,如果需要,创建一个新对象。Methods in javafx.embed.swing with parameters of type BufferedImage Modifier and Type 方法 描述 static BufferedImage
SwingFXUtils. fromFXImage(Image img, BufferedImage bimg)
快照指定的JavaFXImage
对象,并将其像素的副本存储到一个BufferedImage
对象中,如果需要创建一个新对象。static WritableImage
SwingFXUtils. toFXImage(BufferedImage bimg, WritableImage wimg)
快照指定的BufferedImage
并将其像素的副本存储到JavaFXImage
对象中,如果需要,则创建一个新对象。 -
Uses of BufferedImage in javax.imageio
Fields in javax.imageio declared as BufferedImage Modifier and Type Field 描述 protected BufferedImage
ImageReadParam. destination
当前目的地BufferedImage
,如果没有设置,null
。Fields in javax.imageio with type parameters of type BufferedImage Modifier and Type Field 描述 protected List<? extends BufferedImage>
IIOImage. thumbnails
AList
的BufferedImage
缩略图,或null
。Methods in javax.imageio that return BufferedImage Modifier and Type 方法 描述 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)
作为对所提供的File
进行解码的结果,返回BufferedImage
,其中自动从当前注册的那些中选择一个ImageReader
。static BufferedImage
ImageIO. read(InputStream input)
作为对所提供的InputStream
进行解码的结果,自动从当前注册的ImageReader
自动选择的结果返回BufferedImage
。static BufferedImage
ImageIO. read(URL input)
作为对所提供的URL
进行解码的结果,返回BufferedImage
,其中自动从当前注册的ImageReader
选择。static BufferedImage
ImageIO. read(ImageInputStream stream)
作为对所提供的ImageInputStream
进行解码的结果,返回BufferedImage
,其中自动从当前注册的那些中选择一个ImageReader
。BufferedImage
ImageReader. read(int imageIndex)
读取imageIndex
索引的图像,并将其作为完整的BufferedImage
返回,使用默认值ImageReadParam
。abstract BufferedImage
ImageReader. read(int imageIndex, ImageReadParam param)
阅读由imageIndex
索引的图像,并将其作为完整的BufferedImage
返回,使用附带的ImageReadParam
。BufferedImage
ImageReader. readThumbnail(int imageIndex, int thumbnailIndex)
返回thumbnailIndex
索引的缩略图预览图像,与ImageIndex
作为BufferedImage
索引的图像相关联。BufferedImage
ImageReader. readTile(int imageIndex, int tileX, int tileY)
读取tileX
和tileY
参数指示的tileX
,将其作为BufferedImage
返回。Methods in javax.imageio that return types with arguments of type BufferedImage Modifier and Type 方法 描述 List<? extends BufferedImage>
IIOImage. getThumbnails()
返回当前List
缩略图BufferedImage
S,或null
,如果没有设置。Methods in javax.imageio with parameters of type BufferedImage Modifier and Type 方法 描述 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
。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)
广播逐步传递到所有已注册的开头IIOReadUpdateListener
通过调用它们的SpassStarted
方法。protected void
ImageReader. processThumbnailPassComplete(BufferedImage theThumbnail)
通过调用其thumbnailPassComplete
方法将所有注册的IIOReadUpdateListener
的缩略图IIOReadUpdateListener
通过thumbnailPassComplete
。protected void
ImageReader. processThumbnailPassStarted(BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands)
通过调用其thumbnailPassStarted
方法,将所有注册的IIOReadUpdateListener
s的缩略图遍历的开始广播。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 Modifier and Type 方法 描述 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 Constructor 描述 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 Modifier and Type 方法 描述 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)
报告缩略图的给定区域已更新。
-