public BufferedImage getNewImageInstance ( ) { BufferedImage buf = new BufferedImage ( image . getWidth ( ) , image . getHeight ( ) , image . getType ( ) ) ; buf . setData ( image . getData ( ) ) ; return buf ; }
Return a new instance of the BufferedImage