{"action":"created","issue":{"url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/219","labels_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/219/comments","events_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/219/events","html_url":"https://github.com/gali8/Tesseract-OCR-iOS/issues/219","id":109303016,"number":219,"title":"iOS 9: g8_blackAndWhite returns complete black image","user":{"login":"AnnieNinaJoyceV","id":7369485,"avatar_url":"https://avatars.githubusercontent.com/u/7369485?v=3","gravatar_id":"","url":"https://api.github.com/users/AnnieNinaJoyceV","html_url":"https://github.com/AnnieNinaJoyceV","followers_url":"https://api.github.com/users/AnnieNinaJoyceV/followers","following_url":"https://api.github.com/users/AnnieNinaJoyceV/following{/other_user}","gists_url":"https://api.github.com/users/AnnieNinaJoyceV/gists{/gist_id}","starred_url":"https://api.github.com/users/AnnieNinaJoyceV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnnieNinaJoyceV/subscriptions","organizations_url":"https://api.github.com/users/AnnieNinaJoyceV/orgs","repos_url":"https://api.github.com/users/AnnieNinaJoyceV/repos","events_url":"https://api.github.com/users/AnnieNinaJoyceV/events{/privacy}","received_events_url":"https://api.github.com/users/AnnieNinaJoyceV/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-01T13:50:08Z","updated_at":"2015-10-13T10:02:24Z","closed_at":"2015-10-13T10:02:24Z","body":"Hi,\r\n\r\nI have been porting my app to work on iOS 9 and found a strange bug.\r\nUnder iOS 8, calling 'g8_blackAndWhite' method always returned the proper black and white image. I tested the same on iOS 9 with the same image, it returned, blacked out image. Could you please advice a solution?\r\n\r\nDevice: iPhone 6+\r\niOS version: 9.0.1\r\nFramework version: 4.0.0\r\n\r\nThis maybe helpful: on this line\r\n   'CGImageRef cgiimage = [context createCGImage:output fromRect:output.extent];'\r\nIt gives this warning/error:\r\n    'need a swizzler so that RGB8 can be read.'"},"comment":{"url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/comments/147668702","html_url":"https://github.com/gali8/Tesseract-OCR-iOS/issues/219#issuecomment-147668702","issue_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/219","id":147668702,"user":{"login":"ws233","id":462439,"avatar_url":"https://avatars.githubusercontent.com/u/462439?v=3","gravatar_id":"","url":"https://api.github.com/users/ws233","html_url":"https://github.com/ws233","followers_url":"https://api.github.com/users/ws233/followers","following_url":"https://api.github.com/users/ws233/following{/other_user}","gists_url":"https://api.github.com/users/ws233/gists{/gist_id}","starred_url":"https://api.github.com/users/ws233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ws233/subscriptions","organizations_url":"https://api.github.com/users/ws233/orgs","repos_url":"https://api.github.com/users/ws233/repos","events_url":"https://api.github.com/users/ws233/events{/privacy}","received_events_url":"https://api.github.com/users/ws233/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T10:02:24Z","updated_at":"2015-10-13T10:02:24Z","body":"I've marked the functions as deprecated."}}