Why zoom to more than 100%?
Why does the viewer allow zooming in to such a high magnification? What is the point of being able to zoom to more than 100%? The image becomes pixellated and blurry at the highest zoom levels. I couldn't figure out how to constrain the max zoom using just the Deep Zoom Composer - can it be done?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
-
Inappropriate?Hi Malcolm,
I haven't found a way of limiting this inside of DZC itself - other than making the image invisible once you hit maximum - but that is a little cumbersome.
However, if you are using Seadragon Ajax you can limit this inside of the seadragon library.
On line 8 you will see find the following:
maxZoomPixelRatio:4
This sets the maximum zoom level to four times the actual size of the image, you can change this to 1 times simpyl with the following code
maxZoomPixelRatio:1
Thanks
Anthony
2 people say
this answers the question
-
Inappropriate?Yes I found that. Quite simple really. Thanks for the reply
Malcolm -
Inappropriate?Hi Malcolm,
That's a good question. We let you go past 100% by default because it's not uncommon for people to be on high-DPI displays. For them, zooming in past 100% doesn't really make it blurry -- it in fact makes details more visible.
As Anthony pointed out, this limit is configurable in Seadragon Ajax. But it's actually easier than changing the source directly -- it's exposed via an API. Simply add this line to your app:
Seadragon.Config.maxZoomPixelRatio = 1;
You can check out the documentation for that and other "knobs" inside Seadragon.Config.
By the way, our default used to let you zoom into 400% (as Anthony's code snippet shows), but we recently changed the default to 200%. You might like that default better.
Let us know if you have any other questions!
The company says
this answers the question
-
Inappropriate?Hi Aseem,
thank you. I figured out how to control it. It's just that I was playing with it for the first time and couldn't see how it might be achieved with the DZC. Once I dived into the code it was quite simple to constrain. I'm a bit puzzled by your statement that zooming past 1:1 would show more detail on a high dpi display though. I can't see how, when you get beyond the actual pixels, you would see more detail. My display is 1920 x 1200 and the image quality degrades when you zoom past full size. Anyway it's a cool thing and I like it so will be playing with it some more for sure.
I’m quite content actually
Loading Profile...



EMPLOYEE