{"action":"created","issue":{"url":"https://api.github.com/repos/image-size/image-size/issues/34","repository_url":"https://api.github.com/repos/image-size/image-size","labels_url":"https://api.github.com/repos/image-size/image-size/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/image-size/image-size/issues/34/comments","events_url":"https://api.github.com/repos/image-size/image-size/issues/34/events","html_url":"https://github.com/image-size/image-size/issues/34","id":46234670,"number":34,"title":"MaxBufferSize is not enough.","user":{"login":"peecky","id":4220949,"avatar_url":"https://avatars.githubusercontent.com/u/4220949?v=3","gravatar_id":"","url":"https://api.github.com/users/peecky","html_url":"https://github.com/peecky","followers_url":"https://api.github.com/users/peecky/followers","following_url":"https://api.github.com/users/peecky/following{/other_user}","gists_url":"https://api.github.com/users/peecky/gists{/gist_id}","starred_url":"https://api.github.com/users/peecky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peecky/subscriptions","organizations_url":"https://api.github.com/users/peecky/orgs","repos_url":"https://api.github.com/users/peecky/repos","events_url":"https://api.github.com/users/peecky/events{/privacy}","received_events_url":"https://api.github.com/users/peecky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-20T06:11:37Z","updated_at":"2016-04-01T06:58:35Z","closed_at":null,"body":"Hello.\r\n\r\nI got an error, `TypeError: Corrupt JPG, exceeded buffer limits`, when I use image-size with an JPEG image file. But when I increase the `MaxBufferSize` in `lib/index.js`, it works well.\r\n\r\nCould you increase the `MaxBufferSize`?\r\n\r\nWhat I changed to test:\r\n`var MaxBufferSize = 128*1024 * 100;`\r\n\r\nThis is the sample file: https://www.dropbox.com/s/qvat156gv0nq13b/b95ff27a4b146a0b95cb4d5f58189c4f.jpg?dl=0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/image-size/image-size/issues/comments/204276036","html_url":"https://github.com/image-size/image-size/issues/34#issuecomment-204276036","issue_url":"https://api.github.com/repos/image-size/image-size/issues/34","id":204276036,"user":{"login":"huyinghuan","id":3005433,"avatar_url":"https://avatars.githubusercontent.com/u/3005433?v=3","gravatar_id":"","url":"https://api.github.com/users/huyinghuan","html_url":"https://github.com/huyinghuan","followers_url":"https://api.github.com/users/huyinghuan/followers","following_url":"https://api.github.com/users/huyinghuan/following{/other_user}","gists_url":"https://api.github.com/users/huyinghuan/gists{/gist_id}","starred_url":"https://api.github.com/users/huyinghuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huyinghuan/subscriptions","organizations_url":"https://api.github.com/users/huyinghuan/orgs","repos_url":"https://api.github.com/users/huyinghuan/repos","events_url":"https://api.github.com/users/huyinghuan/events{/privacy}","received_events_url":"https://api.github.com/users/huyinghuan/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T06:58:35Z","updated_at":"2016-04-01T06:58:35Z","body":"+ 1"}}