CCITTFax: Output Zero for White

This commit is contained in:
Schmidor
2015-07-05 17:57:04 +02:00
parent 1e6227bee5
commit 6facef3142
2 changed files with 9 additions and 9 deletions
@@ -116,11 +116,11 @@ public class CCITTFaxDecoderStreamTest {
image = new BufferedImage(6, 4, BufferedImage.TYPE_BYTE_BINARY);
for (int y = 0; y < 4; y++) {
for (int x = 0; x < 6; x++) {
image.setRGB(x, y, x == 3 ? 0xff000000 : 0xffffffff);
image.setRGB(x, y, x != 3 ? 0xff000000 : 0xffffffff);
}
}
image.setRGB(2, 3, 0xff000000);
image.setRGB(2, 3, 0xffffffff);
}
@Test