summaryrefslogtreecommitdiff
path: root/source/fitz/writer.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-11-14 00:15:14 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-11-14 00:15:14 +0100
commit813e78aefb939daffd8f071be0790470ab037f2c (patch)
tree487a6cf616227f96f7fbe1732fdd89698a1b8646 /source/fitz/writer.c
parentadb68c17dcb8f92508eda3dde0077b0d87158075 (diff)
downloadmupdf-813e78aefb939daffd8f071be0790470ab037f2c.tar.xz
Remove TARGA output support.HEADmaster
It is not very useful.
Diffstat (limited to 'source/fitz/writer.c')
-rw-r--r--source/fitz/writer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/fitz/writer.c b/source/fitz/writer.c
index ada07089..77512f6a 100644
--- a/source/fitz/writer.c
+++ b/source/fitz/writer.c
@@ -68,11 +68,6 @@ fz_document_writer *fz_new_png_pixmap_writer(fz_context *ctx, const char *path,
return fz_new_pixmap_writer(ctx, path, options, "out-%04d.png", 0, fz_save_pixmap_as_png);
}
-fz_document_writer *fz_new_tga_pixmap_writer(fz_context *ctx, const char *path, const char *options)
-{
- return fz_new_pixmap_writer(ctx, path, options, "out-%04d.tga", 0, fz_save_pixmap_as_tga);
-}
-
fz_document_writer *fz_new_pam_pixmap_writer(fz_context *ctx, const char *path, const char *options)
{
return fz_new_pixmap_writer(ctx, path, options, "out-%04d.pam", 0, fz_save_pixmap_as_pam);
@@ -125,8 +120,6 @@ fz_new_document_writer(fz_context *ctx, const char *path, const char *format, co
if (!fz_strcasecmp(format, "png"))
return fz_new_png_pixmap_writer(ctx, path, options);
- if (!fz_strcasecmp(format, "tga"))
- return fz_new_tga_pixmap_writer(ctx, path, options);
if (!fz_strcasecmp(format, "pam"))
return fz_new_pam_pixmap_writer(ctx, path, options);
if (!fz_strcasecmp(format, "pnm"))