mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
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