Cover raw and TIFF import in tests and show decode details

The new tests pin the CR2/NEF/CR3/DNG and TIFF routing, container
signatures and TIFF proxy decoding, with an opt-in fixture run for real
raw files. The Info panel now reports the decoder and the proxy size, so
a file that fell back to a camera preview is visible at a glance.
This commit is contained in:
2026-11-28 20:57:53 +00:00
parent 27360ffae7
commit edfc6cdc80
8 changed files with 176 additions and 0 deletions
+4
View File
@@ -652,6 +652,10 @@ export function normalizePhoto(input: Partial<PhotoRecord> & { id: string }): Ph
typeof input.previewVersion === 'number' && Number.isFinite(input.previewVersion)
? input.previewVersion
: undefined,
proxyBytes:
typeof input.proxyBytes === 'number' && Number.isFinite(input.proxyBytes)
? input.proxyBytes
: undefined,
proofAt: typeof input.proofAt === 'number' && Number.isFinite(input.proofAt) ? input.proofAt : undefined,
name: input.name ?? 'Untitled',
width: input.width ?? 0,