mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-30 10:16:46 +01:00
The reference tool's exports draw an image shown smaller than its pixels as the area average under each device pixel, at its exact (fractional) position: a 1254 px illustration at 265 px now matches pixel for pixel. FigCraft sampled it bicubically at pixel centres, aliasing edges and thin lines. Straight images scaled down along both axes are resampled onto the device grid (crate::resample) on the canvas and in exports, so both still agree; others keep the pattern sampling. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012eBDgsvRwsSRpWeWrzabVY