Brings in the translations merged to craft-i18n since the last pin.
The flatpak manifests name the same commit.
Co-authored-by: FredApps <[email protected]>
* 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
remember_panel_state ran format! for each of the 7 panel stamp ids every frame. Build them once in a LazyLock from the same strings, so the persisted stamps keep their ids, and test that the cached ids equal the format!-based ones.
* Count tool: Marker Size and Label Size alert when typed out of range (#11768)
A value typed past 1..10 (Marker Size) or 8..72 (Label Size) becomes the
closest one, and leaving the field opens the reference's alert: "An integer
between 1 and 10 is required. Closest value inserted." (8 and 72 for Label
Size). The fields take digits only, so "2.6" reads as 26. One typed entry
is one History step; scrubs and arrow steps keep theirs.
* Count tool: an IME commit into a size field drops . and , too (#11768)
The size fields dropped decimal points from typed and pasted text only, so
"2.6" committed by an IME reached the parser and stored 3, not 10.
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.
- ui-egui: the typed TIFF open path is taken on TIFF magic bytes again, not on a
`.tif` name. `photocraft_formats::detect(name, ..)` falls back to the extension,
so any `.tif` file bypassed the import service (#14236);
`files_dropped_with_no_document_open_all_open` caught it.
- raw: `recovers_a_known_matrix_and_curve` pins its fixture's white level to the
12-bit range. craft-raw's NEF reader ignores a WhiteLevel tag and read the
synthetic image's flat brightest patch (2370) as a saturation plateau, which
skewed the fitted tone curve.
`written_kind` and `holds_image` accepted any format the codec registry
knows, so an existing PCX, XPM, DICOM or HEIF file (by name), or any file
starting with an XPM header, could be replaced although PhotoCraft only
reads those formats. Require the codec's write capability in both.
#14236 moved `written_kind` and `holds_image` from the image codec
registry (`photocraft_codecs`) to `photocraft_formats`. That registry
also maps txt/md/csv/rtf and office files, and sniffs RTF, PDF and zip
containers by their bytes, so the #9439 guard let a save or render
replace an existing notes file. Use the codec registry again and drop
the `photocraft-formats` dependency that only these two lines used.
Fixes#14355
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