From a0960a7a95e879f08e69bd9face02f0e07ff7662 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Mon, 14 Mar 2016 16:56:37 +0000 Subject: 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. --- include/mupdf/fitz/output-tga.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 -- cgit v1.2.3