mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-27 02:46:48 +01:00
Earlier PhotoCraft versions kept the 1053 of a Photoshop file they opened and wrote it back unchanged, while storing spot channels added there straight. A transparent Photoshop document carries 1053 = [0], so a white plate added to it in 0.16.0 or earlier sat behind a 1053, and the rule read that file in Photoshop's polarity: the added spot opened inverted. A 1053 that lists fewer channels (non-zero ids; 0 is the transparency's) than the file has after its transparency now counts as kept, with the PhotoCraft 1057 and DisplayInfo spot conditions unchanged. Planes the kept 1053 lists stay in Photoshop's polarity (they are the Photoshop file's own); the ones after them are read straight. Photoshop and this version write one id per extra channel, so their files are unaffected. Known limit, as before: channels reordered there, or as many deleted as added, can't be told apart from the Photoshop file's own. The earlier versions are 0.1.0 to 0.16.0, not 0.11.1: every release since writes the same 1057 and straight spot planes without a 1053. Co-authored-by: jasallen <615848+jasallen@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>