-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Region rounding error between different scales #21
Comments
Can we review this and possibly implement a fix for https://github.com/klokan/iiifserver-build/ @MartinMikita? |
I checked the OpenSeaDragon - it makes request like: http://demo.iiifhosting.com/iiif/1/6144,4096,1024,1024/256,/0/default.jpg |
Yes, the issue is identical even for fixed image size: |
The problem happens in both IiifViewer and OpenSeaDragon
The problem is much harder to see with the Mona Lisa dataset. I can actually see it only in OpenSeaDragon -- is it working ok in IiifViewer? |
http://iiif.klokantech.com/demo.jp2/2048,0,2048,2048/256,/0/native.jpg IIPServer is using First and second image are same, after 8 pixels region is moved by 1 pixel ( |
When requesting 2 images with identical region but different scale, slightly different region is returned:
http://iiif.klokantech.com/demo.jp2/2048,0,2048,2048/pct:12.5/0/native.jpg
vs
http://iiif.klokantech.com/demo.jp2/2048,0,2048,2048/pct:25/0/native.jpg
(Notice the
y
inCopy
on the right edge.)The same can be observed here:
http://iiif.klokantech.com/demo.jp2/2048,0,2048,2048/pct:12.5/0/native.jpg
vs
http://iiif.klokantech.com/demo.jp2/3584,1024,512,512/pct:50/0/native.jpg
(The regions are different, but should be aligned on the right side.)
The text was updated successfully, but these errors were encountered: