Uses of Interface
java.awt.image.RenderedImage
-
Packages that use RenderedImage 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.java.awt.image.renderable Provides classes and interfaces for producing rendering-independent images.javax.imageio The main package of the Java Image I/O API.javax.imageio.spi A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. -
-
Uses of RenderedImage in java.awt
Methods in java.awt with parameters of type RenderedImage Modifier and Type Method and Description abstract void
Graphics2D. drawRenderedImage(RenderedImage img, AffineTransform xform)
Renders aRenderedImage
, applying a transform from image space into user space before drawing. -
Uses of RenderedImage in java.awt.image
Subinterfaces of RenderedImage in java.awt.image Modifier and Type Interface and Description interface
WritableRenderedImage
WriteableRenderedImage is a common interface for objects which contain or can produce image data in the form of Rasters and which can be modified and/or written over.Classes in java.awt.image that implement RenderedImage Modifier and Type Class and Description class
BufferedImage
TheBufferedImage
subclass describes anImage
with an accessible buffer of image data.Methods in java.awt.image that return types with arguments of type RenderedImage Modifier and Type Method and Description Vector<RenderedImage>
RenderedImage. getSources()
Returns a vector of RenderedImages that are the immediate sources of image data for this RenderedImage.Vector<RenderedImage>
BufferedImage. getSources()
Returns aVector
ofRenderedImage
objects that are the immediate sources, not the sources of these immediate sources, of image data for thisBufferedImage
. -
Uses of RenderedImage in java.awt.image.renderable
Methods in java.awt.image.renderable that return RenderedImage Modifier and Type Method and Description RenderedImage
RenderedImageFactory. create(ParameterBlock paramBlock, RenderingHints hints)
Creates a RenderedImage representing the results of an imaging operation (or chain of operations) for a given ParameterBlock and RenderingHints.RenderedImage
ContextualRenderedImageFactory. create(RenderContext renderContext, ParameterBlock paramBlock)
Creates a rendering, given a RenderContext and a ParameterBlock containing the operation's sources and parameters.RenderedImage
RenderableImageOp. createDefaultRendering()
Gets a RenderedImage instance of this image with a default width and height in pixels.RenderedImage
RenderableImage. createDefaultRendering()
Returnd a RenderedImage instance of this image with a default width and height in pixels.RenderedImage
RenderableImageOp. createRendering(RenderContext renderContext)
Creates a RenderedImage which represents this RenderableImageOp (including its Renderable sources) rendered according to the given RenderContext.RenderedImage
RenderableImage. createRendering(RenderContext renderContext)
Creates a RenderedImage that represented a rendering of this image using a given RenderContext.RenderedImage
RenderableImageOp. createScaledRendering(int w, int h, RenderingHints hints)
Creates a RenderedImage instance of this image with width w, and height h in pixels.RenderedImage
RenderableImage. createScaledRendering(int w, int h, RenderingHints hints)
Creates a RenderedImage instance of this image with width w, and height h in pixels.RenderedImage
ParameterBlock. getRenderedSource(int index)
Returns a source as aRenderedImage
. -
Uses of RenderedImage in javax.imageio
Fields in javax.imageio declared as RenderedImage Modifier and Type Field and Description protected RenderedImage
IIOImage. image
TheRenderedImage
being referenced.Methods in javax.imageio that return RenderedImage Modifier and Type Method and Description RenderedImage
IIOImage. getRenderedImage()
Returns the currently setRenderedImage
, ornull
if only aRaster
is available.RenderedImage
ImageReader. readAsRenderedImage(int imageIndex, ImageReadParam param)
Returns aRenderedImage
object that contains the contents of the image indexed byimageIndex
.Methods in javax.imageio with parameters of type RenderedImage Modifier and Type Method and Description static ImageTypeSpecifier
ImageTypeSpecifier. createFromRenderedImage(RenderedImage image)
Returns anImageTypeSpecifier
that encodes the layout of aRenderedImage
(which may be aBufferedImage
).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.void
IIOImage. setRenderedImage(RenderedImage image)
Sets the currentRenderedImage
.void
ImageWriter. write(RenderedImage image)
Appends a complete image stream consisting of a single image with default metadata and thumbnails to the output.static boolean
ImageIO. write(RenderedImage im, String formatName, File output)
Writes an image using an arbitraryImageWriter
that supports the given format to aFile
.static boolean
ImageIO. write(RenderedImage im, String formatName, ImageOutputStream output)
Writes an image using the an arbitraryImageWriter
that supports the given format to anImageOutputStream
.static boolean
ImageIO. write(RenderedImage im, String formatName, OutputStream output)
Writes an image using an arbitraryImageWriter
that supports the given format to anOutputStream
.Constructors in javax.imageio with parameters of type RenderedImage Constructor and Description IIOImage(RenderedImage image, List<? extends BufferedImage> thumbnails, IIOMetadata metadata)
Constructs anIIOImage
containing aRenderedImage
, and thumbnails and metadata associated with it.ImageTypeSpecifier(RenderedImage image)
Constructs anImageTypeSpecifier
from aRenderedImage
. -
Uses of RenderedImage in javax.imageio.spi
Methods in javax.imageio.spi with parameters of type RenderedImage Modifier and Type Method and Description boolean
ImageWriterSpi. canEncodeImage(RenderedImage im)
Returnstrue
if theImageWriter
implementation associated with this service provider is able to encode the givenRenderedImage
instance.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.