rnd-19981110-2
[rocksndiamonds.git] / src / image.c
index d75de85516a59de7dd74c26286c30d30fb9a192c..85861dcc56ed6072c0ef3e6884b8eedcfa904530 100644 (file)
@@ -18,7 +18,11 @@ Image *monochrome(Image *cimage)
   int bitmap_pixel;
 
   if (BITMAPP(cimage))
+  {
+    printf("-->ERROR(monochrome)\n");
+
     return(NULL);
+  }
 
   image = newBitImage(cimage->width, cimage->height);
 
@@ -319,6 +323,8 @@ void compress(Image *image)
   free(map);
   free(used);
 
+
+
 #if 0
   if (badcount)
     printf("%d out-of-range pixels, ", badcount);
@@ -336,6 +342,8 @@ void compress(Image *image)
   }
 #endif
 
+
+
   image->rgb.compressed= TRUE; /* don't do it again */
 }