mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-02-26 08:37:55 +01:00
Now removes unreferenced on decompress
This commit is contained in:
parent
43950455fb
commit
79b769b7ad
@ -2019,8 +2019,8 @@ let write_pdf ?(encryption = None) ?(is_decompress=false) mk_id pdf =
|
||||
begin
|
||||
ignore (Cpdf.recompress_pdf pdf);
|
||||
if args.squeeze then Cpdf.squeeze pdf;
|
||||
Pdf.remove_unreferenced pdf
|
||||
end;
|
||||
Pdf.remove_unreferenced pdf;
|
||||
really_write_pdf ~is_decompress mk_id pdf outname
|
||||
| Some _ ->
|
||||
really_write_pdf ~encryption ~is_decompress mk_id pdf outname
|
||||
|
Loading…
x
Reference in New Issue
Block a user