mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-01 14:08:23 -06:00
Review on #2974: the interpreter decided with a full-resolution decode (`decoded_raster(None)`) before the renderer decoded at its draw size, a second decode of every downscaled image under another cache key; and an image a preview skips for its size still cleared what was under it. `Device::knockout_image` now lets the renderer decide, with the same eligibility and decode size as `draw_image` (shared `image_draw_size`), so the draw reuses that decode and a skipped image clears nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gv2WwdgjmBz33GWkwgNn3Q