public BufferedImage getScaledImage ( ) { RawScale3x scaler = new RawScale3x ( srcData , width , height ) ; BufferedImage image = new BufferedImage ( width * 3 , height * 3 , BufferedImage . TYPE_INT_ARGB ) ; image . setRGB ( 0 , 0 , width * 3 , height * 3 , scaler . getScaledData ( ) , 0 , width * 3 ) ; return image ; }
Retrieve the scaled image . Note this is the method that actually does the work so it may take some time to return