PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Smart filter PSD mapping: document the test helper the PR adds
abc2cb9507dafb524f
diff --git a/crates/io/src/smart_map.rs b/crates/io/src/smart_map.rsindex 785f89be5..c12390707 100644--- a/crates/io/src/smart_map.rs+++ b/crates/io/src/smart_map.rs@@ -1208,6 +1208,7 @@ mod tests {/// Photoshop's Wave with Scale 100% / 28%: PhotoCraft's Wave has no Scale.const PHOTOSHOP_WAVE: &str = "000000050057006100760065000000000000576176650000000a0000000057767470656e756d00000000577674700000000057765472000000004e6d62476c6f6e670000014c00000000574c4d6e6c6f6e67000000d500000000574c4d786c6f6e67000000d600000000416d4d6e6c6f6e67000000f000000000416d4d786c6f6e67000000f10000000053636c486c6f6e67000000640000000053636c566c6f6e670000001c00000000556e6441656e756d00000000556e6441000000005772704100000000526e64536c6f6e670013624a";+ /// A `filterFX` list item as Photoshop writes it (enabled, Normal at 100%, with options), wrapping the `Fltr` descriptor `fltr`.fn photoshop_item(fltr: Descriptor) -> Descriptor {let id = code(fltr.class_id.as_bytes().try_into().unwrap());Descriptor::new("filterFX")