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