How to relate RGB to gray scale

this is the script to relate RGB to gray scale

g.setGrayScale(127);
System.out.println("Red = " + g.getRedComponent( ) + ", green = " + g.
getGreenComponent( ) + ", blue = " + g.getBlueComponent( ));

0 komentar:

Post a Comment

 

Design by Blogger Buster | Distributed by Blogging Tips