Bug 362388 - Can't open webp files
Summary: Can't open webp files
Status: RESOLVED DOWNSTREAM
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-27 23:49 UTC by Rafael Linux User
Modified: 2017-11-09 19:58 UTC (History)
5 users (show)

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


Attachments
An webp file example (30.78 KB, image/webp)
2016-04-27 23:50 UTC, Rafael Linux User
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Linux User 2016-04-27 23:49:12 UTC
Gwenview 4.14.0 pre in KDE 4.14.18 can't open webp images that Chromium/Chrome and Krita can show without problems.


Reproducible: Always

Steps to Reproduce:
1.Click on a webp image
2.Gwenview show a message saying "Loading ‘image_001.webp’ failed
Gwenview cannot display documents of type image/webp."

Actual Results:  
Can't see any webp image

Expected Results:  
To show the image
Comment 1 Rafael Linux User 2016-04-27 23:50:54 UTC
Created attachment 98653 [details]
An webp file example
Comment 2 David Matscheko 2017-05-10 14:10:35 UTC
Gwenview 17.04.0 with KDE Frameworks 5.33.0 and Qt 5.8.0 also can not open webp with Gwenview.

There is/was a library "/usr/lib/kde4/plugins/imageformats/kimg_webp.so" but there is no library for webp in "/usr/lib/qt/plugins/imageformats/".

Even the KImageFormats plugin for QImage does not include this format.

So it seems to me that there is just no support for webp in Qt 5.
Comment 3 Antonio Rojas 2017-05-10 14:14:34 UTC
(In reply to David Matscheko from comment #2)
> Gwenview 17.04.0 with KDE Frameworks 5.33.0 and Qt 5.8.0 also can not open
> webp with Gwenview.
> 
> There is/was a library "/usr/lib/kde4/plugins/imageformats/kimg_webp.so" but
> there is no library for webp in "/usr/lib/qt/plugins/imageformats/".
> 
> Even the KImageFormats plugin for QImage does not include this format.
> 
> So it seems to me that there is just no support for webp in Qt 5.

You need to install qtimageformats
Comment 4 David Matscheko 2017-05-10 14:24:26 UTC
(In reply to Antonio Rojas from comment #3)
> (In reply to David Matscheko from comment #2)
> > [...]
> > Even the KImageFormats plugin for QImage does not include this format.
> > 
> > So it seems to me that there is just no support for webp in Qt 5.
> 
> You need to install qtimageformats

Thanks a lot. I totally missed that qtimageformats and kimageformats are not the same packages and thought it could be related to this bug report.
Comment 5 Nate Graham 2017-11-09 19:58:27 UTC
Sounds like this should be reported to your distro, asking them to mark qtimageformats as a required dependency of Gwenview.