Files
photocraft/crates/engine/tests
David MannandClaude Opus 5.5 2f0ac3215f Address CodeRabbit review: refuse compound file types, unreadable scratch tiles and oversized boards in artboard exports
- A format token must be one plain extension: `unknown.png` named
  `<board>.unknown.png` and wrote PNGs, and a `/` could leave the folder.
- Artboards to Files and Artboards to PDF capture the scratch read generation
  before the boards are built and check it, and the document's own scratch
  health, before each file is written: building the boards copies their
  pixels (and the PNG-8 and PDF paths flatten them) before the encoder's own
  check sees them, so placeholder pixels from a failed read reached files.
- The PNG-8 and PDF page paths refuse a board past the compositor's render
  limit as a bad parameter instead of panicking on the empty flatten.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-16 01:22:45 +01:00
..