Skip to content

fix(mime): map the rw2 extension - #905

Merged
butonic merged 1 commit into
mainfrom
fix/mime-rw2-keynote
Oct 23, 2026
Merged

butonic merged 1 commit into
mainfrom
fix/mime-rw2-keynote

Conversation

@dschmidt

@dschmidt dschmidt commented Oct 23, 2026 •

Copy link
Copy Markdown

.rw2 is the Panasonic raw, and it came back as application/octet-stream.

The table already maps seventeen camera raws in the same image/x-<vendor>-<ext> shape, including Panasonic's older raw, and shared-mime-info has image/x-panasonic-rw2:*.rw2. mime-db carries none of the camera raws at all, which is why this one was never pulled in with the others; nrw was added the same way in August.

Downstream, a consumer that keys its behaviour on image/* sees RW2 as an image now instead of an unknown blob, which is the point. OpenCloud's thumbnail routing sends an image to its generator unless a type is named for the extractor, so that list is being adjusted alongside; the two want to land in that order.

@dschmidt
dschmidt force-pushed the fix/mime-rw2-keynote branch from 8822434 to f9389ad Compare October 23, 2026 09:13
@dschmidt dschmidt changed the title fix(mime): map the key and rw2 extensions fix(mime): map the rw2 extension Oct 23, 2026
@dschmidt
dschmidt marked this pull request as ready for review October 23, 2026 09:14
A Panasonic RW2 is the one TIFF-based camera raw missing from the block that already covers nef, cr2, arw, dng and the rest, so it came back as application/octet-stream.
@dschmidt
dschmidt marked this pull request as draft October 23, 2026 10:12
@dschmidt
dschmidt marked this pull request as ready for review October 23, 2026 13:04
@butonic
butonic merged commit ffe13bf into main Oct 23, 2026
19 of 20 checks passed
@butonic
butonic deleted the fix/mime-rw2-keynote branch October 23, 2026 13:20
@openclouders openclouders mentioned this pull request Oct 23, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants