| Modifier and Type | Method and Description |
|---|---|
static BufferedImage |
createImage(int width,
int height)
Creates a
BufferedImage compatible with the graphics environment. |
static BufferedImage |
makeBuffered(Image image)
Ensures that the given
Image is a BufferedImage, converting
if necessary. |
public static BufferedImage createImage(int width, int height)
BufferedImage compatible with the graphics environment.width - The width of the image to create.height - The height of the image to create.public static BufferedImage makeBuffered(Image image)
Image is a BufferedImage, converting
if necessary.Copyright © 2015–2022 SciJava. All rights reserved.