vectorcraft/crates/color/src
Gert Pellin 7b0164e4e7 ICC profiles written here have their tags 4-byte aligned
moxcms's encode packs tagged elements back to back, so the built-in
sRGB profile embedded in JPEG, TIFF and PSD exports was 634 bytes with
`cprt` at offset 558, where ICC.1 §7.1.2 requires every tagged element
on a 4-byte boundary (stricter readers reject the files). encode now
lays the tag data out again with each element padded, updating the tag
offsets, the size and the profile ID (zeroed, "not computed"); tags
that share data keep sharing it. Reported to moxcms as
awxkee/moxcms#198.

Fixes #1584
2026-10-13 10:52:38 +07:00
..
cms ICC profiles written here have their tags 4-byte aligned 2026-10-13 10:52:38 +07:00
blend.rs M3.90: blend modes and opacity composite inks in CMYK documents 2026-10-05 04:30:06 +07:00
freeform.rs M4.98: freeform gradients export to SVG as images clipped to their shapes 2026-10-05 13:25:16 +07:00
gradient.rs #1007: Reverse Gradient mirrors off-centre midpoints 2026-10-11 03:51:31 +07:00
harmony.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
lib.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
libraries.rs M3.85: spot colours defined in Lab, with Spot Colors options for Lab values or CMYK equivalents 2026-10-05 03:46:57 +07:00
palette_io.rs Review: palette writing keeps the swatches PaletteFormat::holds names; ROADMAP (#1110) 2026-10-11 11:33:07 +07:00
recolor.rs M3.78: Recolor Artwork with colour reduction, methods, presets and Limit to Library 2026-10-05 04:20:27 +07:00
swatch.rs Robustness: VectorCraft never crashes — no panics in shipped code 2026-10-05 06:28:59 +07:00