Repository navigation
fix(mime): map the rw2 extension - #905
Merged
Merged
Conversation
dschmidt
force-pushed
the
fix/mime-rw2-keynote
branch
from
October 23, 2026 09:13
8822434 to
f9389ad
Compare
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
marked this pull request as draft
October 23, 2026 10:12
3 of 4 tasks
dschmidt
marked this pull request as ready for review
October 23, 2026 13:04
butonic
approved these changes
Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.rw2is the Panasonic raw, and it came back asapplication/octet-stream.The table already maps seventeen camera raws in the same
image/x-<vendor>-<ext>shape, including Panasonic's olderraw, and shared-mime-info hasimage/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;nrwwas 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.