Not really sure what changed but it doesn't seem to work with webp anymore. I tried a fresh download, old 1.96 version, restarting, updating java and even a different pc, but it didn't work. Pngs still work fine though, so perhaps something related to webp library?
Viewing post in Portrait Pack Editor Redux (Not a Mod)
It works like before the webp was implemented. You can choose webp images but they don't show the picture and you can't edit them.
I finally figured how to get the error output from java so I got this. The last 2 errors repeat everytime I choose a different picture. I checked the temp folder and it does create a dll named like that.
E: Ok so I managed to fix it. You have to have Visual studio 2019 with the cmake package installed for it to work. I think I uninstalled it around the time it stopped working (was around a week so a few things had changed). I also ran a dumpbin on it for dependents and I got this. If I had to guess I was missing the VCRUNTIME140D.dll.
Dump of file C:\Users\marku\AppData\Local\Temp\webp-imageio5311011599682056399.dll
File Type: DLL
Image has the following dependencies:
KERNEL32.dll
VCRUNTIME140D.dll
ucrtbased.dll