Print notices about image files being written
This commit is contained in:
@@ -101,6 +101,7 @@ savePPM(const char *fname, int w, int h)
|
||||
fprintf(fp, "255\n");
|
||||
fwrite(img, w * h * 3, 1, fp);
|
||||
fclose(fp);
|
||||
printf("Wrote image file %s\n", fname);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -100,6 +100,7 @@ savePPM(const char *fname, int w, int h)
|
||||
fprintf(fp, "255\n");
|
||||
fwrite(img, w * h * 3, 1, fp);
|
||||
fclose(fp);
|
||||
printf("Wrote image file %s\n", fname);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -64,6 +64,7 @@ writePPM(int *buf, int width, int height, const char *fn) {
|
||||
fputc(c, fp);
|
||||
}
|
||||
fclose(fp);
|
||||
printf("Wrote image file %s\n", fn);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -64,6 +64,7 @@ writePPM(int *buf, int width, int height, const char *fn) {
|
||||
fputc(c, fp);
|
||||
}
|
||||
fclose(fp);
|
||||
printf("Wrote image file %s\n", fn);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@ static void writeImage(int *idImage, float *depthImage, int width, int height,
|
||||
}
|
||||
}
|
||||
fclose(f);
|
||||
printf("Wrote image file %s\n", filename);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user