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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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.
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
I presume you mean that you are using Kakadu to generate your JP2 files. What encoding parameters are you using?
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
We use the stable version in the Debian distribution.
There is something wrong with the size, but WID is not the only variable. The range is also participating:
OK:
http://iipserver.tresoar.nl/fcgi-bin/iipsrv.fcgi?FIF=NL-0400410000_28/NL-0400410000_28_0100/NL-0400410000_28_0100_000012.jp2&WID=1500&RGN=0.0,0.0,0.96,0.93&CVT=jpeg
FAIL:
http://iipserver.tresoar.nl/fcgi-bin/iipsrv.fcgi?FIF=NL-0400410000_28/NL-0400410000_28_0100/NL-0400410000_28_0100_000012.jp2&WID=1500&RGN=0.0,0.0,0.96,0.94&CVT=jpeg
(notice I changed 0.93 to 0.94)
We compressed the images with the following command:
"c:\Program Files (x86)\Kakadu\kdu_compress.exe" -quiet -i filename.tif -o filename.jp2 -rate 0.6