File > Import > Variable Data Sets was enabled on any open document, so
importing into one without variables made data sets with no values.
Gate it on the active document defining at least one variable, as the
export counterparts already gate on data sets.
Quick Export built its web settings without a `progressive` key, so every
JPG it wrote was baseline (SOF0). The reference application writes them
progressive (SOF2) at every quality. Save for Web keeps its own Progressive
checkbox, off by default.
The fade source now keeps the history id of the state before the faded
step. A following Hide Layers, Show Layers, Show Only This Layer or eye
click on layers other than the faded one keeps Fade enabled, and Fade
blends towards that state even when the visibility change added a
history state. Selecting another layer, any other step, or showing or
hiding the faded layer itself still disables Fade.
Fade in Dissolve fell through to the Normal mix. Below 100 % each pixel
now keeps the pixel before the step or takes the step's result whole,
alpha included, with the opacity as the odds. The pick uses the
position-based dither_noise that Edit > Fill's Dissolve uses, so it is
the same across tiles and between the dialog's preview and OK.
Only values less than 100 past either end wrap (150 -> 50, -5 -> 95), as
measured; 200, -100, -105 and further out were not measured and keep the
old clamp to 0..=100, per the issue's rule for unmeasured cases.
A frame that takes a content layer was always named "Frame N". It is now
named after that layer ("Red Frame"), as in the reference application;
the content layer keeps its own name. Empty frames keep "Frame N" and an
explicit name param still wins.
layer.frame.set takes an optional historyName ("Move" or null; anything else is refused before
the document changes). The Frame tool sends it when it drags an empty frame, so History shows Move.
Handle drags, nudges, Free Transform, Properties changes and frames with an image keep Frame
Properties.
Fixes#13880
image_size_keeps_canvas_edges_opaque asserted the old behaviour (a scaled
full selection after Image Size). Image Size now drops it (#13856); the
corner check moves to resample_doc, which the Crop tool's W x H x
Resolution mode still uses.
Resampling to a new pixel size now drops the active selection instead of
keeping a scaled copy, as the reference application does. Undo restores
the old size and selection in one step. A Fit Image that changes nothing
and a resolution-only Image Size keep the selection. The shared
resample_doc helper (Crop tool) is unchanged.
The Fade dialog's Mode list now shows the 27 layer blend modes in the
reference order, with a line between its six groups. A Grayscale 8-bit,
Lab 8-bit or RGB 32-bit document greys the modes measured as unavailable
there; the keys and the wheel step past them, and a remembered mode the
document greys opens as Normal. The edit.fade params doc lists all 27
modes; the old names keep working.
Fixes#13806
A Fade step with no Opct or Md key now maps to edit.fade with the missing
setting at its fixed default (100 %, Normal) instead of becoming an
unsupported step. A recorded opacity is rounded to a whole percent and,
outside 0..=100, wraps modulo 100 (150 plays as 50, -5 as 95) rather than
clamping. Recording still writes both keys.
Fixes#13816
paths_to_ai now writes one Path_Begin/Path_End block per path, one *u/*U group per subpath with its combine note and 1 XR, and no path name. A Join subpath takes the note of its component.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
bake_cube_layers now takes the document's sample type, writes the reference
comment layout around the header, and rounds 8- and 16-bit values to
multiples of 1/32768. 32-bit values stay unquantised.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
- Without the AI-MCP flag plain `photocraft-cli mcp` is headless as before: a
Control Port saved before the agents switch no longer makes it look for the
app, start it or apply When PhotoCraft Is Closed. Test in
mcp_without_consent_works_headless (fails without the gate).
- `prefs::read_integrations_section` (migrate + lenient read) is shared by the
app's launch read and `photocraft-cli mcp`: one bad value resets only itself,
so a saved "error" closed-app choice no longer falls back to Launch in the CLI.
Replaces the app's hand-written per-field reader. Test in
integrations_come_from_the_saved_preferences_or_default (fails without it).
- docs/development.md: the headless client examples pass --headless.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Clippy's chunks_exact_to_as_chunks lint rejects chunks_exact_mut(4) under
-D warnings; main uses as_chunks_mut for the same pattern.
Co-Authored-By: mlo0352 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A group has no pixels of its own, so with Sample All Layers off Quick
Selection fell back to the composite and a click selected a whole shape
from the layers inside. The reference application selects only the brush
disc there, as on a flat area. Quick Selection now reads a flat image for a
group (not an artboard) when Sample All Layers is off; with it on, and for
an adjustment layer, it reads the composite as before.
With a base bent toward the tip, the shaft stopped where the bent base
crosses its edge and left the wedge up to the base's middle unfilled. The
shaft's end now follows the bent base to its middle, which fills the wedge
without reaching past the head's flanks, matching the reference outline.
shape.create / shape.edit round arrowConcavity to a whole percent, as the
gear and Properties fields do.