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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user