summaryrefslogtreecommitdiff
path: root/png.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-03-24 19:40:51 -0700
committerMichael Pavone <pavone@retrodev.com>2018-03-24 19:40:51 -0700
commitdb2869d7e0ff15a1050c7b8c4b1a8d41b35fd7c8 (patch)
treec068cfa24068da72aa800c2ac03b506e81eaea12 /png.h
parent6e0a7307a3e97579a30655750aea7372115db367 (diff)
Added png screenshot support
Diffstat (limited to 'png.h')
-rw-r--r--png.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/png.h b/png.h
new file mode 100644
index 0000000..3d6c1ac
--- /dev/null
+++ b/png.h
@@ -0,0 +1,7 @@
+#ifndef PNG_H_
+#define PNG_H_
+
+void save_png24(FILE *f, uint32_t *buffer, uint32_t width, uint32_t height, uint32_t pitch);
+void save_png(FILE *f, uint32_t *buffer, uint32_t width, uint32_t height, uint32_t pitch);
+
+#endif //PNG_H_