diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2024-01-05 04:55:30 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2024-01-05 16:09:37 +0100 |
commit | be086231474e11fa7cb2615e968d497de3183f01 (patch) | |
tree | 5013724e391538d7fe1169beca72f6a8717c4f1f | |
parent | 6bf5a050d940ea4b22b3b2ced49b85af6c89f1a2 (diff) |
Add PDF write option to enable use of object streams.
-rw-r--r-- | source/pdf/pdf-write.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c index d9dd888f9..64521452f 100644 --- a/source/pdf/pdf-write.c +++ b/source/pdf/pdf-write.c @@ -3258,6 +3258,8 @@ pdf_parse_write_options(fz_context *ctx, pdf_write_options *opts, const char *ar opts->do_sanitize = fz_option_eq(val, "yes"); if (fz_has_option(ctx, args, "incremental", &val)) opts->do_incremental = fz_option_eq(val, "yes"); + if (fz_has_option(ctx, args, "objstms", &val)) + opts->do_use_objstms = fz_option_eq(val, "yes"); if (fz_has_option(ctx, args, "regenerate-id", &val)) opts->dont_regenerate_id = fz_option_eq(val, "no"); if (fz_has_option(ctx, args, "decrypt", &val)) |