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. --- include/mupdf/fitz/output-tga.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 include/mupdf/fitz/output-tga.h (limited to 'include/mupdf/fitz/output-tga.h') diff --git a/include/mupdf/fitz/output-tga.h b/include/mupdf/fitz/output-tga.h deleted file mode 100644 index e481b09e..00000000 --- a/include/mupdf/fitz/output-tga.h +++ /dev/null @@ -1,36 +0,0 @@ -#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/output.h" -#include "mupdf/fitz/band-writer.h" -#include "mupdf/fitz/pixmap.h" - -/* - fz_save_pixmap_as_tga: Save a pixmap as a TGA image file. - Can accept RGB, BGR or Grayscale pixmaps, with or without - alpha. -*/ -void fz_save_pixmap_as_tga(fz_context *ctx, fz_pixmap *pixmap, const char *filename); - -/* - Write a pixmap to an output stream in TGA format. - Can accept RGB, BGR or Grayscale pixmaps, with or without - alpha. -*/ -void fz_write_pixmap_as_tga(fz_context *ctx, fz_output *out, fz_pixmap *pixmap); - -/* - fz_new_tga_band_writer: Generate a new band writer for TGA - format images. Note that image must be generated vertically - flipped for use with this writer! - - Can accept RGB, BGR or Grayscale pixmaps, with or without - alpha. - - is_bgr: True, if the image is generated in bgr format. -*/ -fz_band_writer *fz_new_tga_band_writer(fz_context *ctx, fz_output *out, int is_bgr); - -#endif -- cgit v1.2.3