mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-19 00:27:11 +00:00
A placed PSD took 72 ppi for its natural size, so a 300 ppi file came in four times larger than in the reference app. `raster_resolution` (#1991) now reads a PSD's ResolutionInfo image resource (1005, 16.16 fixed point), so a PSD is placed at its own ppi like JPEG, PNG, TIFF, WebP and BMP; without a usable value (missing, shorter than its 16 bytes, damaged, not positive) it stays at 72 ppi. The image-resource walk that found the ICC profile (1039) now finds any resource by id, and both use it. Documents already holding a PSD keep their placed size; only new placements (and Data Merge / table cell images) use the new size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>