Menu

Images with max-wid generate HTTP error 500 but not when you use half the wid of the image

Help
Anonymous
2015-10-22
2015-10-23
  • Anonymous

    Anonymous - 2015-10-22

    Please have a look at:
    http://iipserver.tresoar.nl/fcgi-bin/iipsrv.fcgi?FIF=NL-0400410000_18-02/NL-0400410000_18-02_0082/NL-0400410000_18-02_0082_000038.jp2&WID=2250&CVT=jpeg

    This URL will generate an HTTP-Error 500

    The resolution is of the source image we request is 2250x1500 pixels so the URL is correct when you want to view the image in it's 'native' resolution in your browser.

    After some research into this error we found out that if you change the WID=2250 part in the URL to half its size of the resolution of the source image, thus: WID=1125 the image will show:
    http://iipserver.tresoar.nl/fcgi-bin/iipsrv.fcgi?FIF=NL-0400410000_18-02/NL-0400410000_18-02_0082/NL-0400410000_18-02_0082_000038.jp2&WID=1125&CVT=jpeg

    We can't figure out how to change this behavior. There are no errors logged in the IIP server log. For all images, even in different resolutions the behaviour is the same. It will only view when the WID is set to half the resolution of the source image.

    Please note we use Kakadoo to generate a jpeg out of our jp2 files.

    Any suggestion and help will be appriciated.

     
  • Ruven

    Ruven - 2015-10-22

    I'm not sure why you're getting a 500 error, but it's possible that this is related to a limitation in export sizes when using JPEG2000 in version 0.9.9. Please try using the latest development version of iipsrv: https://github.com/ruven/iipsrv

    Please note we use Kakadoo to generate a jpeg out of our jp2 files.

    I presume you mean that you are using Kakadu to generate your JP2 files. What encoding parameters are you using?

     

Anonymous
Anonymous

Add attachments
Cancel