{"action":"created","issue":{"url":"https://api.github.com/repos/fengyuanchen/cropper/issues/384","labels_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/384/comments","events_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/384/events","html_url":"https://github.com/fengyuanchen/cropper/issues/384","id":95039930,"number":384,"title":"GetCroppedCanvas Method does not work","user":{"login":"sferoze","id":3514912,"avatar_url":"https://avatars.githubusercontent.com/u/3514912?v=3","gravatar_id":"","url":"https://api.github.com/users/sferoze","html_url":"https://github.com/sferoze","followers_url":"https://api.github.com/users/sferoze/followers","following_url":"https://api.github.com/users/sferoze/following{/other_user}","gists_url":"https://api.github.com/users/sferoze/gists{/gist_id}","starred_url":"https://api.github.com/users/sferoze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sferoze/subscriptions","organizations_url":"https://api.github.com/users/sferoze/orgs","repos_url":"https://api.github.com/users/sferoze/repos","events_url":"https://api.github.com/users/sferoze/events{/privacy}","received_events_url":"https://api.github.com/users/sferoze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T21:00:37Z","updated_at":"2015-07-15T13:59:16Z","closed_at":null,"body":"Here I initialize the cropper\r\n\r\n```\r\n$('.crop-image-container > img').cropper\r\n    aspectRatio: 1 / 1,\r\n    #autoCropArea: 0.65,\r\n    strict: false,\r\n    guides: false,\r\n    highlight: false,\r\n    dragCrop: false,\r\n    cropBoxMovable: false,\r\n    cropBoxResizable: false\r\n    autoCropArea: 0.75\r\n```\r\n\r\nNow when I want to get the canvas to get the data URL I do:\r\n\r\n```\r\n$('.crop-image-container > img').cropper('getCroppedCanvas').toBlob (blob) ->\r\n      console.log blob\r\n```\r\n\r\nIt says that toBlob is not a function. I have tried a bunch of other variations but just cannot get the cropped canvas. Please help. \r\n"},"comment":{"url":"https://api.github.com/repos/fengyuanchen/cropper/issues/comments/121624342","html_url":"https://github.com/fengyuanchen/cropper/issues/384#issuecomment-121624342","issue_url":"https://api.github.com/repos/fengyuanchen/cropper/issues/384","id":121624342,"user":{"login":"fengyuanchen","id":3456749,"avatar_url":"https://avatars.githubusercontent.com/u/3456749?v=3","gravatar_id":"","url":"https://api.github.com/users/fengyuanchen","html_url":"https://github.com/fengyuanchen","followers_url":"https://api.github.com/users/fengyuanchen/followers","following_url":"https://api.github.com/users/fengyuanchen/following{/other_user}","gists_url":"https://api.github.com/users/fengyuanchen/gists{/gist_id}","starred_url":"https://api.github.com/users/fengyuanchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengyuanchen/subscriptions","organizations_url":"https://api.github.com/users/fengyuanchen/orgs","repos_url":"https://api.github.com/users/fengyuanchen/repos","events_url":"https://api.github.com/users/fengyuanchen/events{/privacy}","received_events_url":"https://api.github.com/users/fengyuanchen/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T13:59:16Z","updated_at":"2015-07-15T13:59:16Z","body":"See #383"}}