7

I am trying to implement an image viewer using TouchImageView.

  • TouchImageView is placed in a Fragment.
  • And I set a large image(2500x3000) to this TouchImageView, (loading with inSampleSize=8).
  • Then I pinch zoom-in the image, it is displayed at low resolution.(It's no wonder.)

However, I want to display a high resolution image at zoom-in, like Android Gallery app. How to do this?

Thanks in advance.

collapsar
  • 17,010
  • 4
  • 35
  • 61
yk00
  • 71
  • 1
  • 2
  • check these http://stackoverflow.com/questions/13210443/android-pinch-and-zoom-image-in-activity and http://stackoverflow.com/questions/10630373/android-image-view-pinch-zooming – Rachita Nanda Aug 13 '13 at 07:36
  • I checked the links. but Its not very useful for me.I am using TouchImageView(https://github.com/MikeOrtiz/TouchImageView), and it works well. So I can pinch zoom-in/out. – yk00 Aug 13 '13 at 07:46
  • Use webview to display image. – T_V Aug 13 '13 at 07:48
  • I had already tried WebView. But webview image quality is not good at zoom-in. – yk00 Aug 13 '13 at 07:52

0 Answers0