Page 1 of 2
WebP support in PictView
Posted: 08 Sep 2014, 23:05
by mdruiter
PictView currently does not understand WebP. IrfanView does. Google uses this format more and more and it looks technically superior to JPEG and such. What about supporting it natively in PictView? Google
offers a library for that, so it shouldn't be too hard.
Re: WebP support in PictView
Posted: 15 Feb 2015, 00:07
by crystalidea
+1
Re: WebP support in PictView
Posted: 23 Feb 2015, 16:26
by AD7
Latest XnView has a plugin.
And perhaps IrfanView. Both are free and *fast*.
Re: WebP support in PictView
Posted: 21 Nov 2016, 13:06
by treb
+1
Re: WebP support in PictView
Posted: 21 Nov 2016, 14:59
by AD7
Mám na SVG a WebP nastavený XnView.
Fungujú tam totiž rovnako ako v AS klávesy Bsp - predošlý a Spc - ďalší.

Re: WebP support in PictView
Posted: 23 Apr 2024, 13:27
by emmayashri
WebP is becoming increasingly popular and is considered technically superior to JPEG, adding native support would increase PictView capabilities and compatibility. Integrating the library should be relatively straightforward given Google resources and also it has so many features like
jpeg compressor, supported with different formats too.
Re: WebP support in PictView
Posted: 28 Jan 2025, 13:47
by vilo
I "played" a bit with the PictView plugin, and I've added support for viewing .heif and .webp files. This is an experimental feature, it's more a hack than a regular implementation, but it works with some limitations. For more details, see the pull request and discussion:
https://github.com/OpenSalamander/salamander/pull/61
https://github.com/OpenSalamander/salam ... ussions/36
Any feedback is welcome. Enjoy

Re: WebP support in PictView
Posted: 28 Jan 2025, 16:46
by AD7
So how to add it to AS 4.0? There are some DLLs or even some visualstusio DLLs?
Thanks.
Re: WebP support in PictView
Posted: 28 Jan 2025, 17:29
by vilo
Go to the link above to the discussion and see my long comment there, but basically this sentence explains it:
- load libheif.dll and libwebp.dll dynamically (currently they have to be copied to the directory where salamand.exe is)
I plan to fix this issue, but for now if you copy the related dlls there, plugin should be loaded successfully.
Re: WebP support in PictView
Posted: 28 Jan 2025, 19:17
by AD7
vilo wrote: 28 Jan 2025, 17:29
...
-
load libheif.dll and libwebp.dll dynamically (currently they have to be copied to the directory where salamand.exe is)
...
And those 2 dll's can be downloaded at...?
Re: WebP support in PictView
Posted: 29 Jan 2025, 09:25
by vilo
Firstly, you have to have
vcpkg utility, when you integrate it with Visual Studio, it will build everyting for you. It's also good to define OPENSAL_BUILD_DIR environment variable.
Code: Select all
c:\projects> git clone https://github.com/Microsoft/vcpkg.git
c:\projects> cd vcpkg
c:\projects\vcpkg> bootstrap-vcpkg.bat
c:\projects\vcpkg> vcpkg integrate install
Now you can open Salamander solution in Visual Studio, you need to compile just the pictview project, and all the needed dlls you can find under the OPENSAL_BUILD_DIR, you have to copy these dlls:
Code: Select all
heif.dll
libde265.dll
libsharpyuv.dll
libwebp.dll
libx265.dll
When I will have some spare time, I'll try to set up automated builds on github, and you could then download binaries, so you will not have to compile it yourself.
Re: WebP support in PictView
Posted: 29 Jan 2025, 12:48
by AD7
Thanks.
So there are nowhere compiled DLLs?

Re: WebP support in PictView
Posted: 29 Jan 2025, 17:12
by vilo
Ok, you can download the libraries from here:
https://drive.google.com/file/d/1GjZwKJ ... xCBt2/view
Did you manage to compile the plugin?
Re: WebP support in PictView
Posted: 29 Jan 2025, 20:24
by AD7
vilo wrote: 29 Jan 2025, 17:12
...
Did you manage to compile the plugin?
No. My PC is old.
Re: WebP support in PictView
Posted: 01 Feb 2025, 15:32
by vilo