diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-03-14 16:56:37 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-03-15 10:29:14 +0000 |
commit | a0960a7a95e879f08e69bd9face02f0e07ff7662 (patch) | |
tree | fcac2de8528dd23ef445baeffe9ae7e4782ec99f /include | |
parent | d8125a13c05eef69a3fd3b6a9512dc573b23cc05 (diff) | |
download | mupdf-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')
-rw-r--r-- | include/mupdf/fitz/output-tga.h | 1 |
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 |