| Summary: | DNG file preview shown as TV static | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] kio-extras | Reporter: | Ilgaz Öcal <ilgaz> |
| Component: | Thumbnails and previews | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | martin.sandsmark, nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Ilgaz Öcal
2021-08-29 17:13:27 UTC
It happens if something tries to parse it as a tiff file (same with kolourpaint). https://invent.kde.org/graphics/gwenview/-/merge_requests/111 fixes it Just to explain a bit more: it works fine if you have e. g. qtraw installed and open it in a normal application (like phototonic), but it doesn't work in apps that try to be clever themselves instead of letting QImageReader resolve the filetype. Ok, let me contradict myself: DNG is the dumbest format I've seen, and that includes a lot of proprietary game data formats from the 90s. It's basically impossible to detect without trying to load in the entire (very complex) file, and then you might or might not get random data to show. Since everything prefers to just check the first bytes of the file to see what plugin to load, since that makes sense for all other formats, it's going to fail in most applications unless patched. Everyone from imagemagick to file and file-type.js have given up on it, hopefully it gets deprecated. |