{"action":"created","issue":{"url":"https://api.github.com/repos/TheLevelUp/ZXingObjC/issues/443","repository_url":"https://api.github.com/repos/TheLevelUp/ZXingObjC","labels_url":"https://api.github.com/repos/TheLevelUp/ZXingObjC/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/TheLevelUp/ZXingObjC/issues/443/comments","events_url":"https://api.github.com/repos/TheLevelUp/ZXingObjC/issues/443/events","html_url":"https://github.com/TheLevelUp/ZXingObjC/issues/443","id":365081224,"node_id":"MDU6SXNzdWUzNjUwODEyMjQ=","number":443,"title":"Hello!Did you solve that problem? I encountered the same problem.","user":{"login":"jueyi1127","id":3233119,"node_id":"MDQ6VXNlcjMyMzMxMTk=","avatar_url":"https://avatars1.githubusercontent.com/u/3233119?v=4","gravatar_id":"","url":"https://api.github.com/users/jueyi1127","html_url":"https://github.com/jueyi1127","followers_url":"https://api.github.com/users/jueyi1127/followers","following_url":"https://api.github.com/users/jueyi1127/following{/other_user}","gists_url":"https://api.github.com/users/jueyi1127/gists{/gist_id}","starred_url":"https://api.github.com/users/jueyi1127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jueyi1127/subscriptions","organizations_url":"https://api.github.com/users/jueyi1127/orgs","repos_url":"https://api.github.com/users/jueyi1127/repos","events_url":"https://api.github.com/users/jueyi1127/events{/privacy}","received_events_url":"https://api.github.com/users/jueyi1127/received_events","type":"User","site_admin":false},"labels":[{"id":1457786,"node_id":"MDU6TGFiZWwxNDU3Nzg2","url":"https://api.github.com/repos/TheLevelUp/ZXingObjC/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"benjohnde","id":5439810,"node_id":"MDQ6VXNlcjU0Mzk4MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5439810?v=4","gravatar_id":"","url":"https://api.github.com/users/benjohnde","html_url":"https://github.com/benjohnde","followers_url":"https://api.github.com/users/benjohnde/followers","following_url":"https://api.github.com/users/benjohnde/following{/other_user}","gists_url":"https://api.github.com/users/benjohnde/gists{/gist_id}","starred_url":"https://api.github.com/users/benjohnde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjohnde/subscriptions","organizations_url":"https://api.github.com/users/benjohnde/orgs","repos_url":"https://api.github.com/users/benjohnde/repos","events_url":"https://api.github.com/users/benjohnde/events{/privacy}","received_events_url":"https://api.github.com/users/benjohnde/received_events","type":"User","site_admin":false},"assignees":[{"login":"benjohnde","id":5439810,"node_id":"MDQ6VXNlcjU0Mzk4MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5439810?v=4","gravatar_id":"","url":"https://api.github.com/users/benjohnde","html_url":"https://github.com/benjohnde","followers_url":"https://api.github.com/users/benjohnde/followers","following_url":"https://api.github.com/users/benjohnde/following{/other_user}","gists_url":"https://api.github.com/users/benjohnde/gists{/gist_id}","starred_url":"https://api.github.com/users/benjohnde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjohnde/subscriptions","organizations_url":"https://api.github.com/users/benjohnde/orgs","repos_url":"https://api.github.com/users/benjohnde/repos","events_url":"https://api.github.com/users/benjohnde/events{/privacy}","received_events_url":"https://api.github.com/users/benjohnde/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/TheLevelUp/ZXingObjC/milestones/4","html_url":"https://github.com/TheLevelUp/ZXingObjC/milestone/4","labels_url":"https://api.github.com/repos/TheLevelUp/ZXingObjC/milestones/4/labels","id":3677724,"node_id":"MDk6TWlsZXN0b25lMzY3NzcyNA==","number":4,"title":"3.6.0","description":"Streamline the project regarding CI/CD, Carthage, Swift. Mostly organising stuff, thinking about potential Swift APIs.","creator":{"login":"benjohnde","id":5439810,"node_id":"MDQ6VXNlcjU0Mzk4MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5439810?v=4","gravatar_id":"","url":"https://api.github.com/users/benjohnde","html_url":"https://github.com/benjohnde","followers_url":"https://api.github.com/users/benjohnde/followers","following_url":"https://api.github.com/users/benjohnde/following{/other_user}","gists_url":"https://api.github.com/users/benjohnde/gists{/gist_id}","starred_url":"https://api.github.com/users/benjohnde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjohnde/subscriptions","organizations_url":"https://api.github.com/users/benjohnde/orgs","repos_url":"https://api.github.com/users/benjohnde/repos","events_url":"https://api.github.com/users/benjohnde/events{/privacy}","received_events_url":"https://api.github.com/users/benjohnde/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2018-09-21T12:44:16Z","updated_at":"2018-10-01T06:52:10Z","due_on":"2019-01-01T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-09-29T00:57:46Z","updated_at":"2018-10-01T06:52:10Z","closed_at":"2018-10-01T06:52:10Z","author_association":"NONE","body":"**\\* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'This luminance source does not support cropping.'\r\n**\\* First throw call stack:\r\n(0x180e6adb0 0x1804cff80 0x1000de6b4 0x1001036e0 0x1000dfd94 0x1000df7fc 0x10002d834 0x1000c0420 0x1005a9a7c 0x1005a9a3c 0x1005af4e4 0x180e20d50 0x180e1ebb8 0x180d48c50 0x182630088 0x186032088 0x1000333a0 0x1808e68b8)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n\r\n---\r\n\r\nThis is the code\r\n\r\n UIImage *image = [UIImage imageWithCGImage:capture.lastScannedImage];\r\n\r\n```\r\nUIImageWriteToSavedPhotosAlbum(image,nil,nil,nil);\r\n\r\nZXCGImageLuminanceSource *source = [[ZXCGImageLuminanceSource alloc] initWithCGImage:image.CGImage];\r\nZXBinaryBitmap *bitmap = [ZXBinaryBitmap binaryBitmapWithBinarizer:[ZXHybridBinarizer binarizerWithSource:source]];\r\n\r\nZXDecodeHints *hints = [ZXDecodeHints hints];\r\nhints.tryHarder = YES;\r\n\r\nZXMultiFormatReader *reader = [ZXMultiFormatReader reader];\r\nZXGenericMultipleBarcodeReader *multiReader = [[ZXGenericMultipleBarcodeReader alloc] initWithDelegate:reader];\r\n\r\nNSError *error = nil;\r\nNSArray *results = [multiReader decodeMultiple:bitmap hints:hints error:&error];\r\n\r\nfor (ZXResult *result2 in results) {\r\n    NSLog(@\"Decoded barcode %@\", result2.text);\r\n}\r\n```\r\n\r\n---\r\n\r\nIt fails in the creation of the NSArray *results, I can see the image saved fine to the photoalbum so I know the image is there so I don't understand why it crashes\r\n\r\n_Originally posted by @mattdouhan in https://github.com/TheLevelUp/ZXingObjC/pull/235#issuecomment-225394490_"},"comment":{"url":"https://api.github.com/repos/TheLevelUp/ZXingObjC/issues/comments/425806207","html_url":"https://github.com/TheLevelUp/ZXingObjC/issues/443#issuecomment-425806207","issue_url":"https://api.github.com/repos/TheLevelUp/ZXingObjC/issues/443","id":425806207,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTgwNjIwNw==","user":{"login":"benjohnde","id":5439810,"node_id":"MDQ6VXNlcjU0Mzk4MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5439810?v=4","gravatar_id":"","url":"https://api.github.com/users/benjohnde","html_url":"https://github.com/benjohnde","followers_url":"https://api.github.com/users/benjohnde/followers","following_url":"https://api.github.com/users/benjohnde/following{/other_user}","gists_url":"https://api.github.com/users/benjohnde/gists{/gist_id}","starred_url":"https://api.github.com/users/benjohnde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjohnde/subscriptions","organizations_url":"https://api.github.com/users/benjohnde/orgs","repos_url":"https://api.github.com/users/benjohnde/repos","events_url":"https://api.github.com/users/benjohnde/events{/privacy}","received_events_url":"https://api.github.com/users/benjohnde/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T06:52:10Z","updated_at":"2018-10-01T06:52:10Z","author_association":"COLLABORATOR","body":"Could you leave `tryHarder` out and give it a shot?"}}
{"actor":{"display_login":"benjohnde"}}