| Summary: | detect defective pictures | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Daniel <daniel-other+kdebug> |
| Component: | Maintenance-Quality | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | wishlist | CC: | caulier.gilles, frederic.chaume, zunar |
| Priority: | NOR | ||
| Version First Reported In: | 7.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Daniel
2020-07-19 22:11:40 UTC
I found an option using exiv2 under windows that can highligth corrupted image, if it can help >bin\exiv2.exe -pp -q P2280067_DxO-corrupted.jpg Exiv2 exception in print action for file P2280067_DxO-corrupted.jpg: P2280067_DxO-corrupted.jpg: The file contains data of an unknown image type >bin\exiv2.exe -pp -q P2280067_DxO.jpg Preview 1: image/jpeg, 317x237 pixels, 17356 bytes >bin\exiv2.exe -pp -q .\P2280067.ORF Preview 1: image/jpeg, 160x120 pixels, 9080 bytes Preview 2: image/jpeg, 3200x2400 pixels, 1060974 bytes I think that could be a good solution to find corrupted jpeg. Based on this I have some thought - as exiv2 is native with Digikam, I guess such error could be visible? Is there some "debug level" or some logs somewhere that could report such errors ? - I'm not expert on coding so don't know how to translate such command to a recursive search on a set of folders? - seems to apply to raw also , but I don't have corrupted raw to perform the test Maik, A possible way is to see if the image data is null or not. See my comment here : https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/imgqsort/imagequalityparser.cpp?ref_type=heads#L63 Gilles Daniel, The Exiv2 exception is also generated if the file format is not recognized by the library. It cannot be used for this task. Gilles Caulier See also releated bug 500283 Hello and thank you for the links. I'll read through them. Please excuse me if I haven't found it in other bug reports. digikam has crashed a lot in the last few days. Often with a blue screen. Although I closed the program normally, I could still see the program as a background process in the task manager for a long time. I think even several times. With the version from February 17, 2025, it no longer happened. Cheers Andy Sorry, I'm wrong here *** This bug has been marked as a duplicate of bug 500283 *** |