Closed filak closed 2 years ago
The problem shows both with IIP and IIIF protocols:
/fcgi-bin/iipsrv.fcgi?FIF=/e.jp2&HEI=100&CVT=jpeg
/fcgi-bin/iipsrv.fcgi?IIIF=/e.jp2/full/100,/0/default.jpg
However this pull request https://github.com/ruven/iipsrv/pull/233 fixes the IIIF call.
Hi @ruven, any updates on this ?
I've now merged the pull request (https://github.com/ruven/iipsrv/commit/ea84c761f723581ce8906f35b202b19cec373914). Can you please test and let me know if it everything now works correctly?
Thank you, it works as expected.
I need to reopen this, the issue still persists. @ruven would you mind if I send you the affected image ?
I need to reopen this, the issue still persists. @ruven would you mind if I send you the affected image ?
Sure, go ahead.
OK, done, send to Your sourceforge.net email.
It turns out to have been due to a bug in iipsrv's OpenJPEG decoder. I've just committed a fix (https://github.com/ruven/iipsrv/commit/ffe319016e6b7de57778083a033b7b320e3a9247). Please test and let me know if there's still a problem
@ruven I still encounter bigger images which do not play nice with IIP protocol:
/fcgi-bin/iipsrv.fcgi?FIF=/xx.jp2&HEI=128&CVT=jpeg
(IIIF works fine in these cases: IIIF=/xx.jp2/full/128,/0/default.jpg)
I will try to send the image to your sourceforge.net email.
128,
in IIIF is w,h
-- you can try with IIIF=/xx.jp2/full/,128/0/default.jpg
and see if that triggers it?
Sorry, poor testing on my part...
This works: /full/,131/0/default.jpg
But bellow 131 it does not: /full/,130/0/default.jpg
Your xx.jp2 image works fine with the above requests on my machine. Are you sure you are using the latest iipsrv which includes the https://github.com/ruven/iipsrv/commit/ffe319016e6b7de57778083a033b7b320e3a9247 commit? Make sure you're using the latest code and maybe do a make clean before rebuilding.
If it still crashes, give me the last 10 lines from the iipsrv log file.
Hmmm, maybe I did not update my fork before building... With the most recent version and after rebuilding everything works fine. Thank you!
It seems to me that this is very similar to https://github.com/ruven/iipsrv/issues/189