Files
figcraft/crates/render
Jindřich ŠaršonandClaude Opus 5.5 69d146243e M3: images shown smaller average what each pixel covers
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
2026-11-21 00:09:21 +01:00
..