Bug 347700 - Support for .webp file format
Summary: Support for .webp file format
Status: RESOLVED LATER
Alias: None
Product: krita
Classification: Applications
Component: File formats (other bugs)
Version First Reported In: 2.9.4
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-14 08:50 UTC by Jonathan Ringstad
Modified: 2016-01-24 15:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Ringstad 2015-05-14 08:50:23 UTC
I've come across a .webp image today that I wanted to use as reference, and realized that I had no application on my system (aside from my browser) that could open it!

It would be cool if krita could support this format. It supports lossless and lossy compression, and seems to be gaining some popularity on the web (facebook, google seem to use it.)

https://developers.google.com/speed/webp/



Reproducible: Always
Comment 1 Halla Rempt 2015-05-14 09:05:01 UTC
Since webp doesn't seem to have any special feature, I guess that it would be best to write a qimgio plugin for it, so all Qt applications, including Krita can read and write these files.
Comment 2 Halla Rempt 2015-05-14 09:06:36 UTC
Actually, there already seems to be a KDE supported qimageio plugin for webp, so all that's needed is add it to the bmp import/export plugin in Krita (which is more properly a fall-back qimageio-based plugin).
Comment 3 Halla Rempt 2015-05-14 09:07:46 UTC
Oh, and to take it further:

commit 6375160828190a3fadb29fdd2765e4a74da1756b
Author: Alex Merry <kde@randomguy3.me.uk>
Date:   Mon Feb 24 17:07:01 2014 +0000

    Remove the WebP format
    
    This will be in Qt 5.3.
    
    REVIEW: 116026
Comment 4 Halla Rempt 2015-05-14 09:20:18 UTC
Git commit ebb9c3227a097d679793530b583663833754b83e by Boudewijn Rempt.
Committed on 14/05/2015 at 09:17.
Pushed by rempt into branch 'calligra/2.9'.

This will only work when the webp qimageio plugin is installed. Not sure
whether we have that on Windows/OSX, but it's present on Linux.

M  +1    -1    krita/plugins/formats/bmp/krita_bmp.desktop
M  +1    -1    krita/plugins/formats/bmp/krita_bmp_export.desktop
M  +1    -1    krita/plugins/formats/bmp/krita_bmp_import.desktop

http://commits.kde.org/calligra/ebb9c3227a097d679793530b583663833754b83e
Comment 5 Raghavendra kamath 2015-10-25 11:26:34 UTC
I would like to add that webp saved from krita looks a bit pixelated , i think it is saving in lossy format and if so , it would be great to have an an option to choose between lossy and lossless  webp.
Comment 6 Halla Rempt 2016-01-24 15:55:16 UTC
Qt doesn't support that, and I'm afraid that writing our own webp plugin just isn't worth it. It's a quite obscure format, still.