{"action":"opened","issue":{"url":"https://api.github.com/repos/fengyuanchen/cropper/issues/445","labels_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/445/labels{/name}","comments_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/445/comments","events_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/445/events","html_url":"https://github.com/fengyuanchen/cropper/issues/445","id":105296785,"number":445,"title":"Rotate 90deg enlarges/stretches the image (reproduced on demo)","user":{"login":"jodiedunlop","id":4055554,"avatar_url":"https://avatars.githubusercontent.com/u/4055554?v=3","gravatar_id":"","url":"https://api.github.com/users/jodiedunlop","html_url":"https://github.com/jodiedunlop","followers_url":"https://api.github.com/users/jodiedunlop/followers","following_url":"https://api.github.com/users/jodiedunlop/following{/other_user}","gists_url":"https://api.github.com/users/jodiedunlop/gists{/gist_id}","starred_url":"https://api.github.com/users/jodiedunlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodiedunlop/subscriptions","organizations_url":"https://api.github.com/users/jodiedunlop/orgs","repos_url":"https://api.github.com/users/jodiedunlop/repos","events_url":"https://api.github.com/users/jodiedunlop/events{/privacy}","received_events_url":"https://api.github.com/users/jodiedunlop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-08T04:11:14Z","updated_at":"2015-09-08T04:11:14Z","closed_at":null,"body":"When an image is rotated, it appears to be stretched to fit the canvas.\r\nAn example can be seen on the current demo:\r\n\r\nhttp://fengyuanchen.github.io/cropper/\r\n\r\n1. If you rotate the image right twice (90deg) you will notice it becomes visibly enlarged.  \r\nIt is stretched to fit the current crop box (you cannot zoom out in this position).\r\n\r\n2. Even if you rotate back to the original position the image is still stretched.  However, now you can zoom back out.\r\n\r\nThe image should not be stretched to fit when rotating.\r\n\r\nTested in latest chrome, ie11 and edge"}}