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( ));
J2ME (Java 2 Micro Edition) source codes and examples / samples in midlet basic, graphics user interface, networking,record management system, thread, timer, audio video multimedia, encryption etc
Design by Blogger Buster | Distributed by Blogging Tips
0 komentar:
Post a Comment