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:
Raj Patel
2026-10-13 01:19:48 -04:00
committed by GitHub
co-authored by Claude Brandon Thomas
parent 9ed3abe490
commit dfa43beb9f
5 changed files with 44 additions and 10 deletions
+2 -2
View File
@@ -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"