mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-12 21:58:58 -04:00
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:
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:
|
||||
|
||||
Reference in new issue
Block a user