mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
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:
1 file changed
+6
@@ -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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user