From 813e78aefb939daffd8f071be0790470ab037f2c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 14 Nov 2018 00:15:14 +0100 Subject: Remove TARGA output support. It is not very useful. --- source/fitz/writer.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source/fitz/writer.c') 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")) -- cgit v1.2.3