From c930c80f31a13c2aea907a0d8b4ec24271ca5276 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 11 Aug 2017 15:55:26 +0200 Subject: Add PCL document writer. Fix color PCL writing bugs introduced when making alpha channels in pixmaps optional. --- source/fitz/writer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/fitz/writer.c') 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); -- cgit v1.2.3