|
|
|
@ -35,7 +35,6 @@ else {
@@ -35,7 +35,6 @@ else {
|
|
|
|
|
fp = stdout; /* XXX */ |
|
|
|
|
for (y=0; y<src->height; y+=steps) { |
|
|
|
|
for (x=0; x<src->width; x+=steps) { |
|
|
|
|
|
|
|
|
|
fimg_get_rgb(src, x, y, rgb); |
|
|
|
|
fprintf(fp, "%d %d ", x, y); |
|
|
|
|
fprintf(fp, "%f %f %f\n", rgb[0], rgb[1], rgb[2]); |
|
|
|
@ -120,7 +119,9 @@ if (norm > 0.0) {
@@ -120,7 +119,9 @@ if (norm > 0.0) {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
foo = export_as_machinable(&fimg, dstname, steps, 0); |
|
|
|
|
|
|
|
|
|
if (foo) { |
|
|
|
|
fprintf(stderr,"%s: err %d on export\n", __func__, foo); |
|
|
|
|
} |
|
|
|
|
fimg_destroy(&fimg); |
|
|
|
|
|
|
|
|
|
return 0; |
|
|
|
|