summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-01-04 00:38:44 -0800
committerKeith Packard <keithp@keithp.com>2014-01-04 00:38:44 -0800
commit528500b1413a40eaa95c3e56190f775b72d6f425 (patch)
tree24a0b26900748e7bd674ed16d11a5c59888ff2ae
parent8c7e2b110aec253e42c084cf3bab615c858e8035 (diff)
Remove debug printfs
-rw-r--r--xtsttopng.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xtsttopng.c b/xtsttopng.c
index 0b32459..7c2e1c5 100644
--- a/xtsttopng.c
+++ b/xtsttopng.c
@@ -74,7 +74,6 @@ assign_hsv(struct xts_color *color, float h, float s, float v)
{
uint16_t r, g, b;
- printf ("%f %f %f\n", h, s, v);
if (v == 0) {
r = g = b = 0;
} else if (s == 0) {
@@ -125,7 +124,6 @@ assign_hsv(struct xts_color *color, float h, float s, float v)
break;
}
}
- printf ("\t%d %d %d\n", r, g, b);
color->r = r;
color->g = g;
color->b = b;
@@ -365,10 +363,10 @@ main (int argc, char **argv)
last = &image->next;
}
}
- printf ("%d colors\n", num_colors);
assign_rgb();
while ((image = images) != NULL) {
if (image->dest_file) {
+ printf ("%s\n", image->dest_file);
output = fopen(image->dest_file, "w");
if (!output)
perror(image->dest_file);