mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-26 03:27:03 -06:00
A tiled picture fill (including a blipFill with neither stretch nor tile, which PowerPoint tiles) assumed 96 dpi. PowerPoint sizes a picture by the resolution its file records: a 32 px tile saved at 90 dpi is 25.6 pt, not 24. The PNG pHYs chunk and JPEG JFIF density are now read (rounded to whole dpi) and scale the tile. Corpus lo/tdf128596 (tiled checkmark texture): 8.79 -> 0.52 mean diff (it had drifted from 7.36 when tiles started snapping to whole pixels). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>