mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-14 19:27:04 -04:00
* M2: snap shrunk interpolated images to whole pixels so scans stay sharp A scanned page (one 300 dpi image with /Interpolate true) was shrunk to a ceil-sized raster and then sampled a second time at a fractional scale and offset, which softened every edge next to Acrobat. An axis-aligned shrunk interpolated image is now shrunk once to its rounded device rectangle and drawn 1:1 at the rounded corner. Rotated, skewed, flipped, Type 3 and non-interpolated images are unchanged. On a synthetic scan page the mean error against an area-average reference falls from 3.4 to 1.6 grey levels at 96 dpi (3.0 to 1.5 at 144 dpi). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * vendor: list the hayro snap patch as (14) in the Patches and Tests columns; correct gaps.md patch counts The patch description had been appended to the Tests column of one of the two hayro rows. gaps.md now counts the distinct patches vendor/README.md lists (26 hayro-interpret, 15 hayro, 3 hayro-jbig2, 17 hayro-syntax). Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> Co-authored-by: Brandon Thomas <[email protected]>