* 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.
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
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.
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.
The document was named after the first file (a_base.png gave "a_base"),
which read as if that file had been opened. It now takes the first free
"Untitled-N" through the shared untitled_name helper and still has no
file path. The smart object made by Create Smart Object keeps the first
file's name, with and without Attempt to Automatically Align.
An open subpath split by path.deleteSegment gave the new half a copy of
its op, so an Intersect, Exclude or Subtract subpath folded in as two
components, a first subpath's stored op suddenly applied, and a Join
subpath after it moved to the other half's component. Until #13606
measures the reference, only splits where both readings agree go
ahead: a Combine subpath that is a component of its own, or a Join
subpath after the first. The rest return an error with no History
step; the Delete key shows it and keeps the layer.
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.