summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/output-tga.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-03-14 16:56:37 +0000
committerRobin Watts <robin.watts@artifex.com>2016-03-15 10:29:14 +0000
commita0960a7a95e879f08e69bd9face02f0e07ff7662 (patch)
treefcac2de8528dd23ef445baeffe9ae7e4782ec99f /include/mupdf/fitz/output-tga.h
parentd8125a13c05eef69a3fd3b6a9512dc573b23cc05 (diff)
downloadmupdf-a0960a7a95e879f08e69bd9face02f0e07ff7662.tar.xz
Mutool draw: Simplify output handling code.
At the moment we have the output file being opened in several different places, leading to several different places having to cope with the '-' handling. Simplify the code so that files are only opened in 1 place.
Diffstat (limited to 'include/mupdf/fitz/output-tga.h')
-rw-r--r--include/mupdf/fitz/output-tga.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mupdf/fitz/output-tga.h b/include/mupdf/fitz/output-tga.h
index 4bd9e2ba..3eb39c7d 100644
--- a/include/mupdf/fitz/output-tga.h
+++ b/include/mupdf/fitz/output-tga.h
@@ -6,5 +6,6 @@
#include "mupdf/fitz/pixmap.h"
void fz_save_pixmap_as_tga(fz_context *ctx, fz_pixmap *pixmap, const char *filename, int savealpha);
+void fz_write_pixmap_as_tga(fz_context *ctx, fz_output *out, fz_pixmap *pixmap, int savealpha);
#endif