SUMMARY Can't preview DNG files despite being able to view other types of RAW files. STEPS TO REPRODUCE 1. Install kdegraphics-thumbnailers (https://discuss.kde.org/t/how-to-preview-dng-files-in-dolphin/2511/2?u=rokejulianlockhart). OBSERVED RESULT Can't preview the files in Dolphin. EXPECTED RESULT I should be able to (https://discuss.kde.org/t/how-to-preview-dng-files-in-dolphin/2511/4?u=rokejulianlockhart). SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20230716 KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 Kernel Version: 6.4.3-1-default (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 31.2 GiB of RAM Graphics Processor: AMD Radeon RX 5700
Please provide a DNG file concerned.
Created attachment 163279 [details] An example DNG (which is unable to be previewed). (In reply to Méven Car from comment #1) > Please provide a DNG file concerned. Provided. Note: ```.log RokeJulianLockhart@s1e8h4:~> sudo zypper install kdegraphics-thumbnailers [sudo] password for root: Retrieving repository 'utilities' metadata ........................................................................................................................................................................................................................................[done] Building repository 'utilities' cache .............................................................................................................................................................................................................................................[done] Retrieving repository 'Packman' metadata ..........................................................................................................................................................................................................................................[done] Building repository 'Packman' cache ...............................................................................................................................................................................................................................................[done] Loading repository data... Reading installed packages... 'kdegraphics-thumbnailers' is already installed. No update candidate for 'kdegraphics-thumbnailers-23.08.3-1.1.x86_64'. The highest available version is already installed. Resolving package dependencies... Nothing to do. ```
(In reply to `{third: "Beedell", first: "Roke"}`{.JSON5} from comment #2) > Created attachment 163279 [details] > An example DNG (which is unable to be previewed). > > (In reply to Méven Car from comment #1) > > Please provide a DNG file concerned. > > Provided. Oh gosh, I didn't check which it was. Don't look at the image too hard, or you might die of cringe. I do have other, more normal ones, if need be for whatever reason XD
Created attachment 168729 [details] Preview in Dolphin ii kimageformat-plugins 5.107.0-3.1+b1 amd64 additional image format plugins for QtGui
Even though I'm using a slightly older version of kimage-plugins I don't think it's a raw plugin issue.
(In reply to Mirco Miranda from comment #5) > Even though I'm using a slightly older version of kimage-plugins I don't > think it's a raw plugin issue. I am getting those logs from the file: ``` qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.imageformats.tiff: "Unknown field with tag 33421 (0x828d) encountered" qt.imageformats.tiff: "Unknown field with tag 33422 (0x828e) encountered" qt.imageformats.tiff: "Unknown field with tag 33434 (0x829a) encountered" qt.imageformats.tiff: "Unknown field with tag 33437 (0x829d) encountered" qt.imageformats.tiff: "Unknown field with tag 34855 (0x8827) encountered" qt.imageformats.tiff: "Unknown field with tag 36867 (0x9003) encountered" qt.imageformats.tiff: "Unknown field with tag 37386 (0x920a) encountered" qt.imageformats.tiff: "Unknown field with tag 37398 (0x9216) encountered" qt.imageformats.tiff: "Unknown field with tag 50964 (0xc714) encountered" qt.imageformats.tiff: "Unknown field with tag 50965 (0xc715) encountered" qt.imageformats.tiff: "Unknown field with tag 51009 (0xc741) encountered" qt.imageformats.tiff: "Unknown field with tag 51022 (0xc74e) encountered" qt.imageformats.tiff: "Unknown field with tag 51041 (0xc761) encountered" qt.imageformats.tiff: "Sorry, can not handle image with PhotometricInterpretation=32803" ```
(In reply to Méven Car from comment #6) > (In reply to Mirco Miranda from comment #5) > > Even though I'm using a slightly older version of kimage-plugins I don't > > think it's a raw plugin issue. > > I am getting those logs from the file: > > ``` > qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile > qt.imageformats.tiff: "Unknown field with tag 33421 (0x828d) encountered" > qt.imageformats.tiff: "Unknown field with tag 33422 (0x828e) encountered" > qt.imageformats.tiff: "Unknown field with tag 33434 (0x829a) encountered" > qt.imageformats.tiff: "Unknown field with tag 33437 (0x829d) encountered" > qt.imageformats.tiff: "Unknown field with tag 34855 (0x8827) encountered" > qt.imageformats.tiff: "Unknown field with tag 36867 (0x9003) encountered" > qt.imageformats.tiff: "Unknown field with tag 37386 (0x920a) encountered" > qt.imageformats.tiff: "Unknown field with tag 37398 (0x9216) encountered" > qt.imageformats.tiff: "Unknown field with tag 50964 (0xc714) encountered" > qt.imageformats.tiff: "Unknown field with tag 50965 (0xc715) encountered" > qt.imageformats.tiff: "Unknown field with tag 51009 (0xc741) encountered" > qt.imageformats.tiff: "Unknown field with tag 51022 (0xc74e) encountered" > qt.imageformats.tiff: "Unknown field with tag 51041 (0xc761) encountered" > qt.imageformats.tiff: "Sorry, can not handle image with > PhotometricInterpretation=32803" > ``` DNG is a TIFF container then the TIFF plugin also tries to open it (but saying that it doesn't understand DNG extensions).
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kimageformats/-/merge_requests/218
A possibly relevant merge request was started @ https://invent.kde.org/network/kio-extras/-/merge_requests/349
It took me a minute to find the origin, but I suspect that other images format are concerned. It could be fixed in kdegraphics-thumbnailers potentially.
Git commit 3dd91a0e50f106b0302400705dc4684491917157 by Méven Car. Committed on 14/05/2024 at 18:18. Pushed by meven into branch 'master'. thumbnail/imageplugin: add image/x-adobe-dng support Since image/x-adobe-dng inherits from mime image/x-dcraw, prevents the rawthumbnail plugin in kdegraphics-thumbnailers to render it, since this one cannot render those files. M +2 -1 thumbnail/imagethumbnail.json https://invent.kde.org/network/kio-extras/-/commit/3dd91a0e50f106b0302400705dc4684491917157