diff options
-rw-r--r-- | source/pdf/pdf-write.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c index 3f2c2cda..af5ce5b9 100644 --- a/source/pdf/pdf-write.c +++ b/source/pdf/pdf-write.c @@ -2777,6 +2777,10 @@ pdf_parse_write_options(fz_context *ctx, pdf_write_options *opts, const char *ar opts->do_linear = opteq(val, "yes"); if (fz_has_option(ctx, args, "sanitize", &val)) opts->do_clean = opteq(val, "yes"); + if (fz_has_option(ctx, args, "incremental", &val)) + opts->do_incremental = opteq(val, "yes"); + if (fz_has_option(ctx, args, "continue-on-error", &val)) + opts->continue_on_error = opteq(val, "yes"); if (fz_has_option(ctx, args, "garbage", &val)) { if (opteq(val, "yes")) |