diff options
author | Simon Bünzli <zeniko@gmail.com> | 2013-09-25 17:05:45 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-09-27 17:09:48 +0100 |
commit | c301f0b3b493935fcf1d7ff58543486b7c6b2773 (patch) | |
tree | de2cd90c3a3d58b5dd2777b3afe01855d6e7a83f /include/mupdf/fitz/output-tga.h | |
parent | 728034546726798d8a31fcb046846b662f5073b5 (diff) | |
download | mupdf-c301f0b3b493935fcf1d7ff58543486b7c6b2773.tar.xz |
add support for .tga output to mudraw
SumatraPDF's testsuite uses Targa images as output because they're
compressed while still far easier to compare than PNG and have better
tool support than PCL/PWG.
Diffstat (limited to 'include/mupdf/fitz/output-tga.h')
-rw-r--r-- | include/mupdf/fitz/output-tga.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mupdf/fitz/output-tga.h b/include/mupdf/fitz/output-tga.h new file mode 100644 index 00000000..316eb182 --- /dev/null +++ b/include/mupdf/fitz/output-tga.h @@ -0,0 +1,10 @@ +#ifndef MUPDF_FITZ_OUTPUT_TGA_H +#define MUPDF_FITZ_OUTPUT_TGA_H + +#include "mupdf/fitz/system.h" +#include "mupdf/fitz/context.h" +#include "mupdf/fitz/pixmap.h" + +void fz_write_tga(fz_context *ctx, fz_pixmap *pixmap, const char *filename, int savealpha); + +#endif |