Merge pull request #176 from antimony/master

Use ARGB color model in MatrixToImageConfig
This commit is contained in:
Sean Owen 2014-06-25 08:46:00 +01:00
commit 17da7bbe4c

View file

@ -56,7 +56,7 @@ public final class MatrixToImageConfig {
int getBufferedImageColorModel() {
// Use faster BINARY if colors match default
return onColor == BLACK && offColor == WHITE ? BufferedImage.TYPE_BYTE_BINARY : BufferedImage.TYPE_INT_RGB;
return onColor == BLACK && offColor == WHITE ? BufferedImage.TYPE_BYTE_BINARY : BufferedImage.TYPE_INT_ARGB;
}
}
}