summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/png.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension/png.h')
-rw-r--r--libdimension/dimension/png.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension/dimension/png.h b/libdimension/dimension/png.h
index 858f79f..f1b1470 100644
--- a/libdimension/dimension/png.h
+++ b/libdimension/dimension/png.h
@@ -27,6 +27,9 @@
#include <stdio.h>
+/* Optimize canvas for PNG exporting */
+int dmnsn_png_optimize_canvas(dmnsn_canvas *canvas);
+
/* Write canvas to file in PNG format. Returns 0 on success, nonzero on
failure */
int dmnsn_png_write_canvas(const dmnsn_canvas *canvas, FILE *file);