summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/output-pwg.h
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2017-03-14 15:04:09 +0000
committerRobin Watts <robin.watts@artifex.com>2017-03-14 16:49:43 +0000
commitb2af1e57857a309302c151f4c8f560f5dde3da2f (patch)
tree823b7273e3fcb5d43a96b359090743b1b3dda3e3 /include/mupdf/fitz/output-pwg.h
parent4c8f6f696882cb4a924c483dfe5a734c7b41de0f (diff)
downloadmupdf-b2af1e57857a309302c151f4c8f560f5dde3da2f.tar.xz
Update PWG writer to be a band_writer.
Update mutool to call it.
Diffstat (limited to 'include/mupdf/fitz/output-pwg.h')
-rw-r--r--include/mupdf/fitz/output-pwg.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/mupdf/fitz/output-pwg.h b/include/mupdf/fitz/output-pwg.h
index 0bd782f6..a3abc58d 100644
--- a/include/mupdf/fitz/output-pwg.h
+++ b/include/mupdf/fitz/output-pwg.h
@@ -88,7 +88,7 @@ void fz_write_bitmap_as_pwg(fz_context *ctx, fz_output *out, const fz_bitmap *bi
/*
Output the file header to a pwg stream, ready for pages to follow it.
*/
-void fz_write_pwg_header(fz_context *ctx, fz_output *out);
+void fz_write_pwg_file_header(fz_context *ctx, fz_output *out);
/*
Output a page to a pwg stream to follow a header, or other pages.
@@ -100,4 +100,16 @@ void fz_write_pixmap_as_pwg_page(fz_context *ctx, fz_output *out, const fz_pixma
*/
void fz_write_bitmap_as_pwg_page(fz_context *ctx, fz_output *out, const fz_bitmap *bitmap, const fz_pwg_options *pwg);
+/*
+ fz_new_mono_pwg_band_writer: Generate a new band writer for
+ PWG format images.
+*/
+fz_band_writer *fz_new_mono_pwg_band_writer(fz_context *ctx, fz_output *out, const fz_pwg_options *pwg);
+
+/*
+ fz_new_pwg_band_writer: Generate a new band writer for
+ contone PWG format images.
+*/
+fz_band_writer *fz_new_pwg_band_writer(fz_context *ctx, fz_output *out, const fz_pwg_options *pwg);
+
#endif