mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-01 05:58:12 -06:00
M10: BigTIFF and strict GIF detection in Create PDF; XDP data in format parity (#1453)
- Create PDF detects BigTIFF (II+/MM+) as well as classic TIFF; the tiff decoder already reads it, so these scans now convert instead of being refused. - Image detection accepts only GIF87a/GIF89a, the headers conversion decodes, so a malformed GIF header is no longer called an image and then rejected with a misleading error. - file-format-parity.md: XDP split into XFA data import/export (shipped under form.xfa-data) and opening .xdp as a document (none). Tests: bigtiff_images_become_pages; malformed GIF headers in source_kind_tells_pdfs_images_and_text_apart. Both fail without the fix. Claude-Session: https://claude.ai/code/session_01F8DFYWkDyTnEcin9PNkUW5 Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>
This commit is contained in:
co-authored by
Claude
Brandon Thomas
parent
9ed3abe490
commit
dfa43beb9f
@@ -6784,8 +6784,8 @@ milestone = "M10"
|
||||
status = "shipped"
|
||||
commands = ["create.images", "create.file"]
|
||||
tools = ["doc_create"]
|
||||
evidence = ["crates/create/src/tests.rs::bmp_gif_and_multi_page_tiff_images"]
|
||||
notes = "every page; 1-bit scans stay 1-bit; resolution from the TIFF"
|
||||
evidence = ["crates/create/src/tests.rs::bmp_gif_and_multi_page_tiff_images", "crates/create/src/tests.rs::bigtiff_images_become_pages"]
|
||||
notes = "every page; 1-bit scans stay 1-bit; resolution from the TIFF; classic TIFF and BigTIFF"
|
||||
|
||||
[[feature]]
|
||||
id = "create.from-text"
|
||||
|
||||
Reference in New Issue
Block a user