This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
How to create bufferedImage of an image that has transparent pixels? If do so: tail=new BufferedImage(10, 10, BufferedImage.TYPE_INT_ARGB); Graphics tailContext = tail.createGraphics(); tailContext.drawImage(tailImage, 0, 0, null);
the whole image will be transparent. and if so: new BufferedImage(10, 10, BufferedImage.TYPE_INT_AGB); the transparent parts will be black. [ August 21, 2004: Message edited by: Juhan Voolaid ]