aboutsummaryrefslogtreecommitdiff
path: root/src/ppm.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-06-19 13:11:29 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-06-19 13:11:29 -0500
commitd579b5e8bf669918908c894304efd66ee79f179e (patch)
treea2165cbd64f0ab2c5798320e9a581c53293d5113 /src/ppm.h
parentfd82f4c6257db8bc3753d28c092a62134cd6f629 (diff)
fix: convolution filter fixed
edge filters work
Diffstat (limited to 'src/ppm.h')
-rw-r--r--src/ppm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ppm.h b/src/ppm.h
index 5cf8b02..fa82d7a 100644
--- a/src/ppm.h
+++ b/src/ppm.h
@@ -5,10 +5,7 @@
#include <stdlib.h>
#include <string.h>
-typedef struct Image {
- uint8_t *data;
- int32_t width, height, pixel_bits;
-} Image;
+#include "common.h"
void ppm_read(const char *file, Image *img);
void ppm_write(const char *file, Image *img);
Feel free to download, copy and edit any repo