summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz
diff options
context:
space:
mode:
Diffstat (limited to 'include/mupdf/fitz')
-rw-r--r--include/mupdf/fitz/output-tga.h36
-rw-r--r--include/mupdf/fitz/writer.h3
2 files changed, 1 insertions, 38 deletions
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
diff --git a/include/mupdf/fitz/writer.h b/include/mupdf/fitz/writer.h
index 6850d06d..b0af0688 100644
--- a/include/mupdf/fitz/writer.h
+++ b/include/mupdf/fitz/writer.h
@@ -85,7 +85,7 @@ int fz_option_eq(const char *a, const char *b);
path: The document name to write (or NULL for default)
format: Which format to write (currently cbz, html, pdf, pam, pbm,
- pgm, pkm, png, ppm, pnm, svg, text, tga, xhtml)
+ pgm, pkm, png, ppm, pnm, svg, text, xhtml)
options: NULL, or pointer to comma separated string to control
file generation.
@@ -103,7 +103,6 @@ fz_document_writer *fz_new_pwg_writer(fz_context *ctx, const char *path, const c
fz_document_writer *fz_new_cbz_writer(fz_context *ctx, const char *path, const char *options);
fz_document_writer *fz_new_png_pixmap_writer(fz_context *ctx, const char *path, const char *options);
-fz_document_writer *fz_new_tga_pixmap_writer(fz_context *ctx, const char *path, const char *options);
fz_document_writer *fz_new_pam_pixmap_writer(fz_context *ctx, const char *path, const char *options);
fz_document_writer *fz_new_pnm_pixmap_writer(fz_context *ctx, const char *path, const char *options);
fz_document_writer *fz_new_pgm_pixmap_writer(fz_context *ctx, const char *path, const char *options);