The solution was to use BufferedImage.TYPE_BYTE_BINARY as the type rather than TYPE_BYTE_GRAY . Using BINARY causes a pure black & white ...
確定! 回上一頁