https://bugs.kde.org/show_bug.cgi?id=363019

--- Comment #5 from Sven Claussner <scl.gp...@gmail.com> ---
I investigated a bit and a look at the console output gave me some insights.
On opening the File/Open dialog, a long list of file format messages is printed
out, among them:

mimeType "image/x-krita-raw" seen false swap extension order false
        description: "Camera Raw Files"
        patterns: ("*.nef", "*.cr2", "*.sr2", "*.crw", "*.pef", "*.x3f",
"*.kdc", "*.mrw", "*.arw", "*.k25", "*.dcr", "*.orf", "*.raw", "*.raw",
"*.raf", "*.srf", "*.dng")
>>>>>>>>>>>>>>>>>>> "Camera Raw Files ( *.nef *.cr2 *.sr2 *.crw *.pef *.x3f 
>>>>>>>>>>>>>>>>>>> *.kdc *.mrw *.arw *.k25 *.dcr *.orf *.raw *.raw *.raf *.srf 
>>>>>>>>>>>>>>>>>>> *.dng )"

On trying to open a CR2 file, Krita prints: 
krita.file: Couldn't create a valid graph for this source mimetype: 
"image/x-canon-cr2"

Checking at system level (at least in KDE), the CR2 files are associated to
another mime type than Krita expects.
To prove this I added the new mime type "image/x-krita-raw" at system level and
assigned the imaginary CR3 file extension to it. Then I renamed a CR2 file to
CR3 and opened it in Dolphin with the Krita AppImage - et voila: Krita opens it
in full size!

Here are the correct mime types I got from the KDE file association tool:
NEF: image/x-nikon-nef
CR2: image/x-canon-cr2 
SR2: image/x-sony-sr2
CRW: image/x-canon-crw
x3f: image/x-sigma-x3f
kdc:image/x-kodak-kdc
mrw:image/x-minolta-mrw
arw:image/x-sony-arw
k25:image/x-kodak-k25
dcr:image/x-kodak-dcr 
orf:image/x-olympus-orf
raw:image/x-panasonic-raw
*.raw is a duplicate. Perhaps you meant *.rw2, which is image/x-panasonic-raw2
?
raf:image/x-fuji-raf
srf:image/x-sony-srf
dng:image/x-adobe-dng

Tldr; : assigning the raw formats properly to their corresponding mime type
should fix it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to