*/
private void addSixel(final char ch) {
int n = ((int) ch - 63);
+
+ if (DEBUG && (color == null)) {
+ System.err.println("color is null?!");
+ System.err.println(buffer);
+ }
+
int rgb = color.getRGB();
int rep = (repeatCount == -1 ? 1 : repeatCount);
if (newColor != null) {
color = newColor;
} else {
- System.err.println("COLOR " + idx + " NOT FOUND");
+ if (DEBUG) {
+ System.err.println("COLOR " + idx + " NOT FOUND");
+ }
+ color = Color.BLACK;
}
if (DEBUG) {