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
+1
View File
@@ -2170,6 +2170,7 @@ route('POST', '/api/photos/:id/original', async ({ req, res, params }) => {
width: info?.width || decoded.width,
height: info?.height || decoded.height,
mime: 'image/jpeg',
previewBytes: decoded.jpeg.length,
previewUrl: `/api/photos/${params.id}/preview`,
thumbUrl: `/api/photos/${params.id}/thumb`,
note: decoded.note ?? null,