summaryrefslogtreecommitdiffstats
path: root/image_writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'image_writer.h')
-rw-r--r--image_writer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/image_writer.h b/image_writer.h
index f92c2f800d..e73b526c7e 100644
--- a/image_writer.h
+++ b/image_writer.h
@@ -48,3 +48,6 @@ const char *image_writer_file_ext(const struct image_writer_opts *opts);
*/
int write_image(struct mp_image *image, const struct image_writer_opts *opts,
const char *filename);
+
+// Debugging helper.
+void dump_png(struct mp_image *image, const char *filename);