Perceptualdiff tool on Windows

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
acasta69
Developer
Developer
Posts: 472
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Perceptualdiff tool on Windows

Post 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...
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Perceptualdiff tool on Windows

Post 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.
Support LuxCoreRender project with salts and bounties
User avatar
TAO
Developer
Developer
Posts: 850
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: Perceptualdiff tool on Windows

Post 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.
Annotation 2020-03-23 111916.jpg
Annotation 2020-03-23 111938.jpg
acasta69
Developer
Developer
Posts: 472
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Perceptualdiff tool on Windows

Post by acasta69 »

Thanks TAO :D
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.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87
User avatar
TAO
Developer
Developer
Posts: 850
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: Perceptualdiff tool on Windows

Post 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.
Post Reply