Create buffered image that does not support transparency : BufferedImage « 2D Graphics GUI « Java
- Java
- 2D Graphics GUI
- BufferedImage
Create buffered image that does not support transparency
import java.awt.image.BufferedImage;
public class Main {
public static void main(String[] argv) throws Exception {
int width = 100;
int height = 100;
BufferedImage bimage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
}
}
Related examples in the same category