mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
A banded layer checks the save's interrupt before each band and before each channel's part of a band. Once cancelled it stops there and doesn't encode the layer again raw; the incomplete model is discarded by the caller (which returns IoError::Cancelled), so the save never reaches its commit point and the target is untouched. Ex carries the export's Interrupt for this. Addresses CodeRabbit review on crates/io/src/psd_export/banded.rs.