fix(io): report OpenRaster blending losses on export

Report channel exclusions and non-default Blend If settings for editable layers in the shared writer and dry loss check.
This commit is contained in:
Mex authored and GitHub committed 2026-11-19 22:58:16 +01:00
1 parent 6dacd20f38
commit 4c727f324f
1 file changed
+6
+6
View File
@@ -509,6 +509,12 @@ impl Writer<'_> {
if layer.clipped {
self.warnings.layer(&layer.name, "OpenRaster has no clipping masks; these layers were saved unclipped");
}
if layer.excluded_channels != 0 {
self.warnings.layer(&layer.name, "OpenRaster drops channel blending restrictions from editable layers");
}
if !layer.blend_if.is_default() {
self.warnings.layer(&layer.name, "OpenRaster drops Blend If settings from editable layers");
}
if !layer.effects.items.is_empty() || layer.effects.psd_raw.is_some() {
self.warnings.layer(&layer.name, "layer styles are not saved to OpenRaster");
}