Harmonized RAW mime types

Modifications based on information found online and the samples [here](https://raw.pixls.us/data).

Created a [MR for shared-mime-info](https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/341) with the missing mime types used in this MR.

Closes #19 

NOTE: for the following formats the images are not loaded by LibRAW (so I removed them): ari (ARRI), cap (Casio), lri (Light).
This commit is contained in:
Mirco Miranda
2025-02-07 10:38:26 +00:00
committed by Daniel Novomeský
parent 7a74b50d64
commit 18a729f7a1
2 changed files with 30 additions and 36 deletions

View File

@ -40,20 +40,18 @@ using pi_unique_ptr = std::unique_ptr<libraw_processed_image_t, std::function<vo
// Known formats supported by LibRaw (in alphabetical order and lower case)
const auto supported_formats = QSet<QByteArray>{
"3fr",
"arw", "arq",
"bay", "bmq",
"cr2", "cr3", "cap", "cine", "cs1", "crw",
"dcs", "dc2", "dcr", "dng", "drf", "dxo",
"eip", "erf",
"arw",
"crw", "cr2", "cr3",
"dcr", "dng",
"erf",
"fff",
"iiq",
"k25", "kc2", "kdc",
"mdc", "mef", "mfw", "mos", "mrw",
"k25", "kdc",
"mdc", "mef", "mos", "mrw",
"nef", "nrw",
"obm", "orf", "ori",
"pef", "ptx", "pxn",
"qtk",
"r3d", "raf", "raw", "rdc", "rw2", "rwl", "rwz",
"orf",
"pef",
"raf", "raw", "rwl", "rw2",
"sr2", "srf", "srw", "sti",
"x3f"
};