Convert Image to Black and White using Java

This example demonstrates how to convert an image to Black and White using Java. A 1-bit image is created with an IndexColorModel with two colors in the default sRGB ColorSpace: {0,0,0} and {255,255,255}. Convert...