Bug 467950 - Exporting a WBMP file on Digikam MacOS creates corrupt file.
Summary: Exporting a WBMP file on Digikam MacOS creates corrupt file.
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-kimageformats
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.102.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Alex Merry
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-29 23:09 UTC by Geoff King
Modified: 2023-03-30 22:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff King 2023-03-29 23:09:31 UTC
SUMMARY
WBMP file is created when exporting from Digikam, but is corrupt and small.  

See Digikam bug report thread here:  https://bugs.kde.org/show_bug.cgi?id=467675#c25

STEPS TO REPRODUCE
1. Digikam 8.0.0 beta1. > Image Editor > Open a JPG for editing.
2. Click Export and select WBMP format
3. Export file.

OBSERVED RESULT
A file is exported, but is unusable.  When trying to open it Digikam says it is corrupt.  

EXPECTED RESULT
An image file.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 12.6.3 Intel
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Digikam Build date: 3/26/23 8:24 AM
Comment 1 Albert Astals Cid 2023-03-30 08:11:06 UTC
What is a WBMP file?
Comment 2 Maik Qualmann 2023-03-30 08:41:00 UTC
I had to do some research now. The QImageReader reports reading and writing this format. But after looking through the KImageFormatsPlugin sources for a while, I think this support comes straight from Qt. I also think Geoff is confusing this WBMP format with a modern Webp. But it is a format from old mobile phones in 1-Bit black and white format. The bug report can be closed.

Maik