change scroll of image by zooming in and out of an image

3 views (last 30 days)
hi everyone,
i have used imscrollpanel to put scroll around the image to show it in it's original resolution.but when i zoom in the image the scroll doesn't change. and i can't see the whole image.and i should use pan to see other parts. now how can i change the size of scroll as the size of image changes by zooming in and zooming out? tnx for your help...
  2 Comments
Image Analyst
Image Analyst on 18 Jun 2011
What do you mean when you zoom in you can't see the whole image? You should be able to see a part of the image in the "viewport" and if you use scrollbars to pan around you should see the whole image, one small magnified part at a time. What does "change the size of the scroll" mean?
mary
mary on 18 Jun 2011
you know the image size is 960*1440, and i used scroll to view it in it's original size. but when i zoom in, the image resolution becomes bigger, and with moving the scrolls i can't see the whole parts of image, unless i use pan.but i want to see all part of image just by using the scrolls...
i'm not sure if i could say what i mean!
tnx for your attention

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!