From c0622649ff239b618b999162456fd8b37aa1918c Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 13 Nov 2026 06:20:56 -0500 Subject: [PATCH] Preserve spot ink metadata in neutral PDF pages --- crates/pdf/src/write/raster.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/pdf/src/write/raster.rs b/crates/pdf/src/write/raster.rs index 573142629..33d64645c 100644 --- a/crates/pdf/src/write/raster.rs +++ b/crates/pdf/src/write/raster.rs @@ -22,6 +22,12 @@ pub struct Image { pub struct SpotPlate { pub name: String, pub cmyk: [f32; 4], + /// CIE L*a*b* ink color for a caller's metadata packet. + pub lab: [f32; 3], + /// Encoded sRGB ink color for a caller's metadata packet. + pub srgb: [f32; 3], + /// Spot ink solidity in the inclusive range 0..=1. + pub solidity: f32, pub width: u32, pub height: u32, pub data: Vec,