transforms a screenmatrix into a bufferedimage . concode_field_sep ColorPalette colorMap concode_field_sep placeholderType placeHolder
BufferedImage function ( ScreenMatrix arg0 ) { BufferedImage loc0 = new BufferedImage ( arg0 . width , arg0 . height , BufferedImage . TYPE_INT_RGB ) ; for ( int loc1 = 0 ; loc1 < arg0 . width ; loc1 ++ ) for ( int loc2 = 0 ; loc2 < arg0 . height ; loc2 ++ ) { int loc3 = arg0 . matrix [ loc1 ] [ loc2 ] ; Color loc4 = colorMap . get ( loc3 ) ; loc0 . setRGB ( loc1 , loc2 , loc4 . getRGB ( ) ) ; } return loc0 ; }