{"action":"created","issue":{"url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/139","labels_url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/139/comments","events_url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/139/events","html_url":"https://github.com/davemorrissey/subsampling-scale-image-view/issues/139","id":112786288,"number":139,"title":"Multiple SSIVs with SCALE_TYPE_CENTRE_CROP gives different outputs.","user":{"login":"droidekas","id":6491284,"avatar_url":"https://avatars.githubusercontent.com/u/6491284?v=3","gravatar_id":"","url":"https://api.github.com/users/droidekas","html_url":"https://github.com/droidekas","followers_url":"https://api.github.com/users/droidekas/followers","following_url":"https://api.github.com/users/droidekas/following{/other_user}","gists_url":"https://api.github.com/users/droidekas/gists{/gist_id}","starred_url":"https://api.github.com/users/droidekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droidekas/subscriptions","organizations_url":"https://api.github.com/users/droidekas/orgs","repos_url":"https://api.github.com/users/droidekas/repos","events_url":"https://api.github.com/users/droidekas/events{/privacy}","received_events_url":"https://api.github.com/users/droidekas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-22T11:48:11Z","updated_at":"2015-10-22T15:57:56Z","closed_at":null,"body":"![device-2015-10-22-170604](https://cloud.githubusercontent.com/assets/6491284/10664327/2abe3a56-78e0-11e5-8500-26390e34672b.png)\r\n\r\nEach image is 1 SSIV. My image loading code is\r\n\r\n```\r\nSubsamplingScaleImageView imgView = ((SubsamplingScaleImageView) this.findViewById(photoId).findViewById(R.id.image_view));\r\n            imgView.setOrientation(SubsamplingScaleImageView.ORIENTATION_USE_EXIF);\r\n            imgView.setDebug(true);\r\n            imgView.setMinimumScaleType(SubsamplingScaleImageView.SCALE_TYPE_CENTER_CROP);\r\n            imgView.setImage(ImageSource.uri(uri), new ImageViewState(0, new PointF(0, 0), SubsamplingScaleImageView.ORIENTATION_USE_EXIF));\r\n```\r\n\r\nThey are all the same images.The issues I am facing:\r\n\r\n1. I cannot pan the the images till I zoom into them first\r\n   - The left-top image has a lot of the image which is not visible however I cannot pan into that portion of the image till i zoom first.\r\n2. I cannot figure out how the scaling works for the image.\r\n  -The effect that I am looking for is: Either the height or the width of the image should match the dimensions of the container.\r\n\r\n**EDIT** : I cannot pan any image before I first zoom into it.\r\n\r\nPS:Please let me know if I can give this a better title.I could not come up with anything"},"comment":{"url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/comments/150270613","html_url":"https://github.com/davemorrissey/subsampling-scale-image-view/issues/139#issuecomment-150270613","issue_url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/139","id":150270613,"user":{"login":"davemorrissey","id":1893039,"avatar_url":"https://avatars.githubusercontent.com/u/1893039?v=3","gravatar_id":"","url":"https://api.github.com/users/davemorrissey","html_url":"https://github.com/davemorrissey","followers_url":"https://api.github.com/users/davemorrissey/followers","following_url":"https://api.github.com/users/davemorrissey/following{/other_user}","gists_url":"https://api.github.com/users/davemorrissey/gists{/gist_id}","starred_url":"https://api.github.com/users/davemorrissey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davemorrissey/subscriptions","organizations_url":"https://api.github.com/users/davemorrissey/orgs","repos_url":"https://api.github.com/users/davemorrissey/repos","events_url":"https://api.github.com/users/davemorrissey/events{/privacy}","received_events_url":"https://api.github.com/users/davemorrissey/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T15:57:56Z","updated_at":"2015-10-22T15:57:56Z","body":"It looks like the two images on the left should be able to pan vertically, care you saying they don't? Can you attach the original image so I can see what its dimensions are?"}}