The io error stays typed until the notes import decides: a pixel
allocation failure (IoError::OutOfMemory) and the PSD memory refusals go
through io_open_error as File > Open reports them; only other failures
become "No notes were imported.".
A readable file without notes, and one the import cannot read as a notes
source (not an image, damaged, truncated), now fail with Photoshop's
"No notes were imported." instead of "<file> has no notes" or the
decoder's text. No history step, document unmodified. A file that cannot
be read at all keeps its "<file>: <why>" error, and a memory refusal
keeps its own message.
Picks up main's CI fixes (#14595), so CI runs on a green base.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Model-Effort: Opus 5.5 driver, no subagent
* chore: cut over remaining resvg and roxmltree usages to craft-svg and craft-xml
* Cut over remaining photocraft-io TIFF tests, rawinfo example, and move exr to dev-dependencies
* chore: remove unused zune-jpeg workspace dependency
* style: cargo fmt
File > Automate > Lens Correction now converts a Grayscale 8-bit scratch
document to RGB before the correction, so every File Type writes RGB 8-bit,
as the reference application does. RGB 8/16-bit, Grayscale 16-bit and CMYK
sources keep today's mode and depth.
When two linked files share a name, the second copy in Links is now named name_1.ext (name_2.ext, ... for more; name_1 for a name without an extension) instead of 1-name.ext. The clash check, the lower layer keeping the plain name and a file linked twice being copied once 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
The name was "Untitled_Panorama" plus the number of open documents plus
one, with no hyphen. Use the existing untitled_name helper instead: the
first "Untitled_Panorama-N" no open document has, so "-1" when no
panorama is open.
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]>
The result layers were pushed in source order, and children[0] is the
bottom layer, so the first source ended up at the bottom. Push them in
reverse, with Blend on and off. The Content-Aware Fill layer is still
pushed last, so it stays on top.
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
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.
The distinct Triangle live shape landed (#13578), so the corner-radius
edit label now keys off the shape kind instead of a three-sided Polygon
heuristic. A three-sided Polygon keeps "Edit Shape" — its "Change
Rounded Polygon" label is #13300's scope.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.