implement pinch zoom like gallery in android

view story

http://stackoverflow.com – I have done too much R&D on pinch zoom and found lots of example of pinch zoom for android.. How pinch zoom image in image zoom android? android pinch zoom But when I tried to zoom big images (ex: >10 MB, 12200x8521) then It failed to decode. But built in gallery can do and it can zoom. not even zoom but after zoom it display very clean image. While in above pichZoomView can not zoom like this.. I found QuickPic app which is having same zoom feature like gallery. I don't know how this products decode images and zoom like system gallery app. If I decode full image then it throws OutOfM (HowTos)