mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-18 16:24:38 +00:00
The zip reader searches a whole file for an end-of-directory record before it gives up on a file that isn't a zip. DesignCraft reads the preview of every recent file this way before the start screen's first frame: 2.6 s for a local 110 MB InDesign document, 43 s on a network share. read_preview_from now checks the zip local-file header first. Fixes #2031