A copied list had left out 3fr and fff (photocraft_io::raw::EXTENSIONS), so as: "3fr" was refused as a parameter. The check now reads photocraft_io::raw::EXTENSIONS and photocraft_io::affinity::EXTENSIONS, with a test over every entry.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Open As built `<stem>.<as>` to pick the decoder and also put that made-up name
into the error, so notes.txt opened as pcx failed as "notes.pcx: ...". The
decoder name is unchanged; the error now names the real file and the format
asked for, keeping the decoder's detail: `"notes.txt" could not be opened as
PCX: codec: unrecognized image format`. The batch RAW path names the real file
too. An `as` value that names no format PhotoCraft reads is a BadParams error
naming the value, before any decode.
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
The dynamic Open Recent submenu is now inserted directly after
file.openAsSmartObject instead of file.openAs (the old anchor stays as the
fallback). Its entries, ids, shortcuts and enabled state are unchanged.
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
file.new renames the new document's opening History state to New, as the
reference application does; opened files keep Open. The History panel icon
and the History Brush hint recognise New as the opening state too.
Direct Selection showed only a hint without a shape layer and never the
Path operations button. It now draws the Path Selection bar: Path
operations whenever there is a path to act on, then Mode, Fill and
Stroke with a shape layer. The menu's operations act on the components
that have selected anchors, New Layer stays greyed, and Merge Shape
Components merges the path Direct Selection edits.
Over the canvas the tool now paints a white arrow with a black outline,
tip on the pointer, and the solid black arrow with Alt over a component.
Cmd keeps the white arrow, as measured; Precise Other Cursors keeps the
crosshair. The type-on-path and shape-box cursors are decided earlier
and still win.
One component sums the halves' winding numbers; two Combine components are
filled each on its own and united, so a reversed half inside the other would
turn a hole into fill. Split a Combine subpath only when the halves' boxes,
handles included, are apart.
file.export.pathsToIllustrator takes paths "documentBounds": the file
frame with the canvas in points as bounding box and no path block,
reply paths: 0. The menu entry is enabled for every open document,
with or without paths. The dialog's dropdown starts with Document
Bounds and, in a document without paths, holds only it, selected.