WebP support in PictView
WebP support in PictView
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.
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: WebP support in PictView
Latest XnView has a plugin.
And perhaps IrfanView. Both are free and *fast*.
And perhaps IrfanView. Both are free and *fast*.
Re: WebP support in PictView
Mám na SVG a WebP nastavený XnView.
Fungujú tam totiž rovnako ako v AS klávesy Bsp - predošlý a Spc - ďalší.
Fungujú tam totiž rovnako ako v AS klávesy Bsp - predošlý a Spc - ďalší.

-
- Posts: 4
- Joined: 15 Apr 2024, 13:18
- Location: India
Re: WebP support in PictView
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
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
https://github.com/OpenSalamander/salamander/pull/61
https://github.com/OpenSalamander/salam ... ussions/36
Any feedback is welcome. Enjoy
Re: WebP support in PictView
So how to add it to AS 4.0? There are some DLLs or even some visualstusio DLLs?vilo wrote: ↑28 Jan 2025, 13:47 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![]()
Thanks.
Re: WebP support in PictView
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.
- 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
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.
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:
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.
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
Code: Select all
heif.dll
libde265.dll
libsharpyuv.dll
libwebp.dll
libx265.dll
Re: WebP support in PictView
Thanks.
So there are nowhere compiled DLLs?
So there are nowhere compiled DLLs?

Re: WebP support in PictView
Ok, you can download the libraries from here: https://drive.google.com/file/d/1GjZwKJ ... xCBt2/view
Did you manage to compile the plugin?
Did you manage to compile the plugin?
Re: WebP support in PictView
ok, then try to download it from here: https://uschovna.cz/zasilka/RG2D5WT7IRNEC89S-XS5