diff options
author | wm4 <wm4@nowhere> | 2012-10-27 17:30:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-01 02:07:45 +0100 |
commit | caa64363c5bdcd6de43b5d594ae44db9e50a9ff4 (patch) | |
tree | 3d960f0f02230e30a0a24898c3f3e3cc83b5d49d /image_writer.h | |
parent | c62efc52c6c5f9dc9cf8e335f6e934e69a721331 (diff) | |
download | mpv-caa64363c5bdcd6de43b5d594ae44db9e50a9ff4.tar.bz2 mpv-caa64363c5bdcd6de43b5d594ae44db9e50a9ff4.tar.xz |
image_writer: add dump_png() function as debugging helper
Diffstat (limited to 'image_writer.h')
-rw-r--r-- | image_writer.h | 3 |
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); |