|
Java™ by example!
|
|
|
How do I convert an color image to a black and white one?
Use the ColorConvertOp class. Its filter() method does a pixel-by-pixel color conversion of the original image. Following example captures the screen, converts it to gray-scale and displays it in a window:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|