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
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.
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).
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
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
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.
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.