feat(thumbnails): register Nikon NRW and Sony SRF raw previews

Both are TIFF-based camera raw formats handled by the same generic walker;
NRW detection needs the reva mimetype mapping in opencloud-eu/reva#773, SRF is
already mapped. No sample files on hand for these two, added by format
structure alongside their verified siblings.
This commit is contained in:
Dominik Schmidt committed 2026-08-18 16:48:32 +02:00
1 parent 61ce147205
commit f112e8bfb2
4 files changed
+7 -1

No files matched your search

@@ -345,10 +345,12 @@ func ForType(mimeType string, opts map[string]any) FileConverter {
case "audio/ogg":
return AudioDecoder{}
case "image/x-nikon-nef",
"image/x-nikon-nrw",
"image/x-canon-cr2",
"image/x-pentax-pef",
"image/x-sony-arw",
"image/x-sony-sr2",
"image/x-sony-srf",
"image/x-adobe-dng":
return RawTiffDecoder{}
default: