先执行 compress_identical_objects(),然后再执行 compress_content_streams(),这会无声地丢弃共享内容流的部分内容
作者: ryota-09创建于 2026年9月20日更新于 2026年9月20日
标签is-bug
No input file is needed — the script builds its own source PDF. This is a minimal, complete example that shows the issue:
内容来源: py-pdf/pypdf