mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-13 15:09:07 +00:00
- An RGB image with no ICC profile of its own was written as DeviceRGB under the CMYK output intent, and the export only warned. In PDF/X-4 it now carries the sRGB profile (assets/icc/sRGB-v2-magic.icc, ICC v2.1, CC0). JPEGs stay passed through. Untagged PNG, GIF and WebP, and the decoded TIFF, BMP and PSD fallback, go in as RGB with the profile. A re-encoded JPEG keeps the source's RGB profile or gets sRGB. Grey images and images with their own profile are unchanged. - Every image constructor asked for interpolation. PDF/X-4 and PDF/A exports now write images without it, which also removes the ImageInterpolation error that stopped PDF/A exports with a placed image. Plain exports keep it. - make_pdfx4 writes pdf:Trapped False into the XMP, matching /Trapped/False in the document information. - check_pdfx4 reports an image that asks for interpolation. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>