aboutsummaryrefslogtreecommitdiff
path: root/src/ppm.h
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-08 16:16:47 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-08 16:16:47 +0300
commitf158268a0d59133b7cef538b3fa57ece16f2981d (patch)
tree846760a497a6c08d61adae96cbce6ffe4e6383c6 /src/ppm.h
Big Bang
Diffstat (limited to 'src/ppm.h')
-rw-r--r--src/ppm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ppm.h b/src/ppm.h
new file mode 100644
index 0000000..b68e77c
--- /dev/null
+++ b/src/ppm.h
@@ -0,0 +1,10 @@
+#ifndef PPM_H
+#define PPM_H
+
+void save_as_ppm(char* file_path, int *t, int width, int height);
+
+int *load_from_ppm(char *file_path, int *width, int *height);
+
+void free_ppm(int *img);
+
+#endif