mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 13:01:29 +00:00
The raster cache key now includes the drawn size, so a soft mask drawn at several sizes was decoded in full once per size: issue16263's rotated and scaled copies hit four sizes and took about 10 s. Sizes are rounded up to a power of two, and every averaged-down size is made from one cached intermediate mask at most 4096 on a side, so the full mask is decoded once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn