How to Use a Progress Bar with OpenZoom SDK?
Hi, I have one doubt about openzoom. Is it possible to add progress bar to show loaded pixel percentage while zooming( so the user knows how much has been loaded and This can be based on the pixels being delivered) ? Could anybody help me please ?
Thanks in advance
Sagarika
Thanks in advance
Sagarika
4
people have 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.
The best answers from the company
-
Tim,
MultiScaleImage which inherits from MultiScaleImageBase exposes a public property called loader. The loader is a NetworkQueue and dispatches Event.INIT and Event.COMPLETE events which you can use to display a spinner like I did in OpenZoom Nano or something else depending on your application.
Let me know whether this was helpful.
Cheers,
Daniel
The company says
this answers the question
-
Sagarika,
Thanks for your feedback. This is a great feature and one I've already started working on. Unfortunately, I can't really say when this work will be finished. I suggest you to keep an eye on the project update feed to see when this feature will be part of the OpenZoom SDK:
http://code.google.com/feeds/p/open-z...
Thanks,
Daniel
The company says
this answers the question
-
Inappropriate?Sagarika,
Thanks for your feedback. This is a great feature and one I've already started working on. Unfortunately, I can't really say when this work will be finished. I suggest you to keep an eye on the project update feed to see when this feature will be part of the OpenZoom SDK:
http://code.google.com/feeds/p/open-z...
Thanks,
Daniel
The company says
this answers the question
-
Inappropriate?Thanks 4 ur reply.
Is it possible to calculate the time the image takes to load starting to load tiles from the center to the bounds? Please help me.
This reply was created from a merged topic originally titled
Displaying Time Required to Load All Tiles. -
Inappropriate?hi Daniel,
I try to solve this problem by doing following steps
1) Add 2 more event NetworkQueueCompleted,NetworkQueueStarted in NetworkRequestEvent class
2) when first time we add new request , i dispatch NetworkQueueStarted and when after process if connection.lenght == 0 then i dispatch NetworkQueueCompleted
it's working for me but i am not sure this is the best way to do it , as i have not study the complete code uptill now.
Any suggestion from your side ? -
Hi Sanjay, I 've been looking for this as well.. would you care to share the updated classes with me? If so, could you contact me through PM? -
Inappropriate?Sanjay,
Well done! This is certainly a reasonable solution. I am working on a new rendering pipeline and I somewhat don't believe it will be reasonable to get access to a true progress status. Therefore, I think I will do exactly what you did, mark the beginning of network activity as well as its end. This way we can at least display an indeterminate progress bar which is perfectly fine in my opinion (at least better than a innacurate progress bar.)
–Daniel -
Inappropriate?Hi Daniel,
Is it possible to share code through your community?
If yes , what i have to do?
I am grateful contribute it. :) -
Inappropriate?Sanjay,
Glad you'd like to share your work. I suggest you create your own project on Google Code, upload your code and share the link here.
Jeremy of Ghost Interactive did just that with his OpenZoom Overlay Extension:
http://code.google.com/p/ghostinterac...
–Daniel
-
Inappropriate?hi ,
i have uploaded the change related to progress bar in following path
http://sanjayopenzoom.googlecode.com/... -
Inappropriate?Hi Sanjay,
did you update to the official release? Have you adjusted the NetworkRequestEvent allready?
Would be wonderfull if you could update your previous adjustment to the code:D
Could you let me know? otherwise I'll dive into it myself:)
greetings, Willem -
Inappropriate?Is there somekind of progress check in openzoom... i've read this post:
http://getsatisfaction.com/openzoom/t...
but it the MultiScaleImageRenderer has been removed... so i think this wont work anymore... have you build some kind of progress functions in the code?
maybe you remember my website.. some people with slower connections see en white/grey background when the image doesn't load fast enough.. so i would like to fade the OLD picture away when the new is VISIBLE..
ik hope you can help me!!
grtzz Tim
http://www.timg.nl/index.html
This reply was created from a merged topic originally titled
picture load progress.
I’m sad
-
Inappropriate?Tim,
MultiScaleImage which inherits from MultiScaleImageBase exposes a public property called loader. The loader is a NetworkQueue and dispatches Event.INIT and Event.COMPLETE events which you can use to display a spinner like I did in OpenZoom Nano or something else depending on your application.
Let me know whether this was helpful.
Cheers,
Daniel
The company says
this answers the question
-
Inappropriate?Works great!!
i'm now working on a thumbnail view on my website.. i'll keep you updated!
Thnx for the help!
I love openzoom!
Grtzz
I’m happy
Loading Profile...




EMPLOYEE
