From caa64363c5bdcd6de43b5d594ae44db9e50a9ff4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 27 Oct 2012 17:30:26 +0200 Subject: image_writer: add dump_png() function as debugging helper --- image_writer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'image_writer.h') 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); -- cgit v1.2.3