dbmdz / iiif-server-hymir

Hymir is a Java based IIIF Server. It is based on "IIIF Image API Java Libraries" and "IIIF Presentation API Java Libraries" projects (see https://github.com/dbmdz)
MIT License
27 stars 7 forks source link

Compatibility with turbojpeg.dll (renamed libturbojpeg.dll) 2.0.0, 2.0.1, 2.0.2, 2.0.3, and 2.0.4 are ok but 2.0.5 and above ...2.1.1 and 2.1.2 failed #275

Open balazsveghjo opened 2 years ago

balazsveghjo commented 2 years ago

Hi Team, on windows 10 after the installation of different versions of libjpeg-turbo (https://sourceforge.net/projects/libjpeg-turbo/ https://sourceforge.net/projects/libjpeg-turbo/files/ ) and renaming the libturbojpeg.dll -> turbojpeg.dll and placing it on the path (on the right place); in IntelliJ with the versions of libjpeg-turbo 2.0.0, 2.0.1, 2.0.2, 2.0.3, and 2.0.4 are the testTurboJpegInstalled() and the tests of IIIFImageApiControllerTest OK:

turbojpeg_2 0 4_ok

turbojpeg_2 0 4_tests_ok

turbojpeg_2 0 4_tests_ok_2

but above 2.0.4 from 2.0.5 there are failed tests and turbojpeg is not loaded well:

turbojpeg_2 0 5_tests_failed

turbojpeg_2 0 5_failed_2

turbojpeg_2 0 5_failed_3

"Could not load libturbojpeg, plugin will be disabled"

What can be the problem with turbojpeg above 2.0.4?

Thanks in advance and all the bests Balázs Végh

uszeiss commented 2 years ago

I would be interested in this question as well because I'm experiencing similar problems when updating to a higher TurboJPEG version. Any help would be very much appreciated.