Create a buffered image that supports transparency in Java
Description
The following code shows how to create a buffered image that supports transparency.
Example
// w w w. j a v a 2s . c om
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_ARGB);
}
}