Repository navigation
Add editable spot ink channels and PSD separations - #164
Merged
Merged
Conversation
IAmJSD
force-pushed
the
feat/spot-colour
branch
2 times, most recently
from
September 20, 2026 13:04
a3453d2 to
70eea06
Compare
IAmJSD
force-pushed
the
feat/spot-colour
branch
from
September 20, 2026 19:10
ea8c8a1 to
a635886
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add document-wide spot ink plates with scalar floating-point coverage, independent of layer/process color and alpha. The Color panel now creates, selects, renames, hides and deletes spots; Brush/Pencil/Eraser, selection-aware fill/clear and grayscale copy/cut/paste edit the selected plate with undo. Native and browser canvas views show individual separations or a display-only overprint simulation with editable color and solidity.
PSD/PSB retain 8/16/32-bit spot and ordinary alpha planes, native names/IDs/DisplayInfo/alternate spot colors, and untouched CMYK process data. Original channel metadata is backed up; visibility, shared documents, recovery and export snapshots preserve ink state. Plates follow crop, resize, rotate and flip. Unsupported layered exports reject extra plates instead of dropping them. All new labels are translated across shipped catalogs.
Validation:
make test-spot-ink: 405 passing core/codec/shared-document/paint/transform/command/codec-plugin tests, including hand-encoded independent PSD/PSB fixtures, ZIP prediction, plate polarity, process independence, undo, geometry, shared recovery and concurrent tile edits.make test-spot-editor: passed the editor runtime test covering spot registration through rotation/flipping and undo.make check-spot-inkandmake check-spot-web: editor native and browser compilation.make lint-spot-ink: strict Clippy on all touched crates and targets (-D warnings).make verify-spot-psdwith psd-tools 1.10.9: independent readback of six emitted PSD/PSB files covering all three depths, standard spot resources and unchanged process planes.make check-i18n,make check-spot-catalogs,make fmt-check-spot-inkandgit diff --check.The simulation is an approximation, not a certified press proof. RGB raster exports contain process pixels; PSD/PSB deliver the separate plates. Content-aware resize is unavailable with plates because it lacks a common seam mapping. Image Size resamples ink coverage bilinearly, and the existing clipboard is 8-bit. No Adobe headers or Photoshop plugin SDK code were read, and
.8bfplugin support was not changed. Details and format sources:docs/spot-ink.md.