From d579b5e8bf669918908c894304efd66ee79f179e Mon Sep 17 00:00:00 2001 From: jvech Date: Mon, 19 Jun 2023 13:11:29 -0500 Subject: fix: convolution filter fixed edge filters work --- src/ppm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ppm.c') diff --git a/src/ppm.c b/src/ppm.c index aded7cd..a5cf3fe 100644 --- a/src/ppm.c +++ b/src/ppm.c @@ -6,6 +6,9 @@ static void read_p6_data(FILE *fp, Image *img); void ppm_write(const char *file, Image *img) { + /* + * Write a ppm file + */ FILE *fp = fopen(file, "w"); if (fp == NULL) { @@ -23,7 +26,7 @@ ppm_write(const char *file, Image *img) void ppm_read(const char *file, Image *img) /* - * Read a ppm image + * Read a ppm file */ { FILE *fp = fopen(file, "r"); -- cgit v1.2.3-70-g09d2