diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-08-11 15:55:26 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-08-17 13:38:48 +0200 |
commit | c930c80f31a13c2aea907a0d8b4ec24271ca5276 (patch) | |
tree | eeb9156f538401461593ced9154aa1f7f9251d72 /source/fitz/writer.c | |
parent | d447754cc9a6220df1b2f8395101b5d79adac9fe (diff) | |
download | mupdf-c930c80f31a13c2aea907a0d8b4ec24271ca5276.tar.xz |
Add PCL document writer.
Fix color PCL writing bugs introduced when making alpha channels
in pixmaps optional.
Diffstat (limited to 'source/fitz/writer.c')
-rw-r--r-- | source/fitz/writer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fitz/writer.c b/source/fitz/writer.c index f0e00256..ba7c16cf 100644 --- a/source/fitz/writer.c +++ b/source/fitz/writer.c @@ -140,6 +140,8 @@ fz_new_document_writer(fz_context *ctx, const char *path, const char *format, co if (!fz_strcasecmp(format, "pkm")) return fz_new_pkm_pixmap_writer(ctx, path, options); + if (!fz_strcasecmp(format, "pcl")) + return fz_new_pcl_writer(ctx, path, options); if (!fz_strcasecmp(format, "pwg")) return fz_new_pwg_writer(ctx, path, options); |