diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-06-19 13:11:29 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-06-19 13:11:29 -0500 |
commit | d579b5e8bf669918908c894304efd66ee79f179e (patch) | |
tree | a2165cbd64f0ab2c5798320e9a581c53293d5113 /src/ppm.c | |
parent | fd82f4c6257db8bc3753d28c092a62134cd6f629 (diff) |
fix: convolution filter fixed
edge filters work
Diffstat (limited to 'src/ppm.c')
-rw-r--r-- | src/ppm.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"); |