mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-14 14:22:39 +00:00
* Build: restore designcraft_format::write for recovery; render decodes without naming the image crate * Build: collapse the nested if in images tone (clippy) * IDML export: placements in cells and footnotes embed their PDF layer choices * Tests: Word fixtures carry the document relationships part * PDF/X-4: untagged WebP images carry sRGB * Images: CMYK TIFFs with other inks fall back to RGB; associated alpha keeps its inks craft-image-codecs' TiffPage lists InkSet (storytold/craft-libs#1307), so decode_cmyk_tiff again refuses InkSet 2 instead of reading other inks as C, M, Y and K. Associated alpha is made straight by the decoder; the PDF tests check those inks and that alpha. * PDF tests: CMYK fallback expects the screen's RGB; alpha images read the masked image The RGB fallback for other inks converts through the working CMYK space, as decode_rgba does, so the test takes its expected samples from decode_rgba. image_color_samples took the first image stream, which for an image with alpha is its soft mask. * Images: repin craft-image-codecs to the InkSet enum (storytold/craft-libs#1307) * Pin craft-image-codecs to storytold/craft-libs ea1c842 (#1307)