Mega Code Archive

 
Categories / Java / 2D Graphics GUI
 

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);      } }