Perceptualdiff tool on Windows

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

Perceptualdiff tool on Windows

Post by acasta69 » Fri Mar 20, 2020 5:37 pm

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 v382.05

User avatar
Dade
Developer
Posts: 3883
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Perceptualdiff tool on Windows

Post by Dade » Fri Mar 20, 2020 6:00 pm

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
Posts: 92
Joined: Sun Mar 24, 2019 4:49 pm
Contact:

Re: Perceptualdiff tool on Windows

Post by TAO » Mon Mar 23, 2020 6:50 am

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
Omid Ghotbi (TAO)

acasta69
Developer
Posts: 253
Joined: Tue Jan 09, 2018 3:45 pm

Re: Perceptualdiff tool on Windows

Post by acasta69 » Mon Mar 23, 2020 9:26 am

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 v382.05

User avatar
TAO
Developer
Posts: 92
Joined: Sun Mar 24, 2019 4:49 pm
Contact:

Re: Perceptualdiff tool on Windows

Post by TAO » Mon Mar 23, 2020 10:26 am

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.
Omid Ghotbi (TAO)

Post Reply