{"action":"created","issue":{"url":"https://api.github.com/repos/Foliotek/Croppie/issues/333","repository_url":"https://api.github.com/repos/Foliotek/Croppie","labels_url":"https://api.github.com/repos/Foliotek/Croppie/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/Foliotek/Croppie/issues/333/comments","events_url":"https://api.github.com/repos/Foliotek/Croppie/issues/333/events","html_url":"https://github.com/Foliotek/Croppie/issues/333","id":234491398,"number":333,"title":"Croppie - Images are blurred on mobile phones when cropping. ","user":{"login":"hemandkk","id":29276379,"avatar_url":"https://avatars2.githubusercontent.com/u/29276379?v=3","gravatar_id":"","url":"https://api.github.com/users/hemandkk","html_url":"https://github.com/hemandkk","followers_url":"https://api.github.com/users/hemandkk/followers","following_url":"https://api.github.com/users/hemandkk/following{/other_user}","gists_url":"https://api.github.com/users/hemandkk/gists{/gist_id}","starred_url":"https://api.github.com/users/hemandkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemandkk/subscriptions","organizations_url":"https://api.github.com/users/hemandkk/orgs","repos_url":"https://api.github.com/users/hemandkk/repos","events_url":"https://api.github.com/users/hemandkk/events{/privacy}","received_events_url":"https://api.github.com/users/hemandkk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-08T11:09:13Z","updated_at":"2017-06-08T12:07:45Z","closed_at":null,"body":"We reproduced this issue with several different phones:\r\n\r\nWhen i uploaded and cropped via mobile phone resultant images gets blurred.\r\nBut when i commented the **viewport** section in below code i got clear image but it take extra spacing on top \r\n\r\n\r\n\r\n\t$uploadCrop = $('#upload-demo').croppie({\r\n\t\t\tviewport: {\r\n\t\t\t\twidth: 700,\r\n\t\t\t\theight: 700,\r\n\t\t\t\t//type: 'circle'\r\n\t\t\t},\r\n\t\t\tenableExif: true,\r\n\t\t\tenforceBoundary: false\r\n\t\t});\r\n\r\n\t\t$('#upload').on('change', function () { readFile(this); });\r\n\t\t$('.upload-result').on('click', function (ev) {\r\n\t\t\tev.preventDefault();\r\n\t\t\t$uploadCrop.croppie('result', {\r\n\t\t\t\ttype: 'canvas',\r\n\t\t\t\tsize: 'viewport'\r\n\t\t\t\t\r\n\t\t\t}).then(function (resp) {\r\n\t\t\t\tpopupResult({\r\n\t\t\t\t\tsrc: resp\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t});"},"comment":{"url":"https://api.github.com/repos/Foliotek/Croppie/issues/comments/307084085","html_url":"https://github.com/Foliotek/Croppie/issues/333#issuecomment-307084085","issue_url":"https://api.github.com/repos/Foliotek/Croppie/issues/333","id":307084085,"user":{"login":"hemandkk","id":29276379,"avatar_url":"https://avatars2.githubusercontent.com/u/29276379?v=3","gravatar_id":"","url":"https://api.github.com/users/hemandkk","html_url":"https://github.com/hemandkk","followers_url":"https://api.github.com/users/hemandkk/followers","following_url":"https://api.github.com/users/hemandkk/following{/other_user}","gists_url":"https://api.github.com/users/hemandkk/gists{/gist_id}","starred_url":"https://api.github.com/users/hemandkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemandkk/subscriptions","organizations_url":"https://api.github.com/users/hemandkk/orgs","repos_url":"https://api.github.com/users/hemandkk/repos","events_url":"https://api.github.com/users/hemandkk/events{/privacy}","received_events_url":"https://api.github.com/users/hemandkk/received_events","type":"User","site_admin":false},"created_at":"2017-06-08T12:07:45Z","updated_at":"2017-06-08T12:07:45Z","body":"Please see the sites below and select cover image in mobile phone.\r\nentesarkar.com ==>  image with black strip\r\nentesarkar.com/test1/  ==>  image gets blurred"}}
{"actor":{"display_login":"hemandkk"}}