posted 17 years ago
you can use
new BufferedImage(WIDTH,HEIGHT,BufferedImage.TYPE_INT_ARGB);
and in particular if you want to use alpha channel(A) for the image
then you have to shift operator to shiftthe bits to get high order 8 bits which stands for the same.