mirror of
https://github.com/storytold/gridcraft.git
synced 2026-12-01 18:26:05 -06:00
Look up a same-page duplicate before refusing a picture for lack of budget room. Past the budget, the lookup copy is built only when the page holds an image of the same pixel size, so it is never bigger than one already kept. The engine budget test now counts image bytes once per page that references them, since the writer shares identical images across pages.