Page 1 of 1
Perceptualdiff tool on Windows
Posted: Fri Mar 20, 2020 5:37 pm
by acasta69
Hi,
anyone has ever used the perceptualdiff tool on Windows?
I always get the "Unknown filetype" error for all the png files when running the pyunittest suite.
Updating to the latest FreeImage version (the only tip I found googling) did not help...
Re: Perceptualdiff tool on Windows
Posted: Fri Mar 20, 2020 6:00 pm
by Dade
acasta69 wrote: ↑Fri Mar 20, 2020 5:37 pm
anyone has ever used the
perceptualdiff tool on Windows?
I always get the "Unknown filetype" error for all the png files when running the
pyunittest suite.
Updating to the latest FreeImage version (the only tip I found googling) did not help...
Nope, not me, ever used on linux.
Re: Perceptualdiff tool on Windows
Posted: Mon Mar 23, 2020 6:50 am
by TAO
Hi.
I try that and It works fine, you just need to download freeimage library (x86) and put it in the source directory, also remember to type the full path of your image.
Re: Perceptualdiff tool on Windows
Posted: Mon Mar 23, 2020 9:26 am
by acasta69
Thanks TAO
Linking to the pre-built FreeImage DLL works for me too.
I wonder why it has problems with the static version of the library that we have in WindowsCompileDeps: it builds fine, but then gives errors when reading image files.
Not a big problem anyway, since it's working with the DLL.
Re: Perceptualdiff tool on Windows
Posted: Mon Mar 23, 2020 10:26 am
by TAO
nice.
yeah, they should add dependencies library with it as they re all open source and free to use.
about not reading the image file as I mention that before you should input full path, not just image name.