Closed afcapel closed 9 months ago
For Sony and Canon Raw file formats. They are based on the tiff format and have the same magic number data so they are incorrectly classified as tiff images.
Defining them as subtypes of tiff solves this issue:
Marcel::MimeType.for Pathname.new("/Users/afcapel/Downloads/RAW_SONY_ILCE-7M2.ARW"), name: "/Users/afcapel/Downloads/RAW_SONY_ILCE-7M2.ARW" => "image/x-raw-sony"
For Sony and Canon Raw file formats. They are based on the tiff format and have the same magic number data so they are incorrectly classified as tiff images.
Defining them as subtypes of tiff solves this issue: