{"action":"created","issue":{"url":"https://api.github.com/repos/zxing/zxing/issues/298","labels_url":"https://api.github.com/repos/zxing/zxing/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/zxing/zxing/issues/298/comments","events_url":"https://api.github.com/repos/zxing/zxing/issues/298/events","html_url":"https://github.com/zxing/zxing/issues/298","id":55584402,"number":298,"title":"issues while selecting image from gallery and find its content ? ","user":{"login":"erumhannan","id":3645358,"avatar_url":"https://avatars.githubusercontent.com/u/3645358?v=3","gravatar_id":"","url":"https://api.github.com/users/erumhannan","html_url":"https://github.com/erumhannan","followers_url":"https://api.github.com/users/erumhannan/followers","following_url":"https://api.github.com/users/erumhannan/following{/other_user}","gists_url":"https://api.github.com/users/erumhannan/gists{/gist_id}","starred_url":"https://api.github.com/users/erumhannan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erumhannan/subscriptions","organizations_url":"https://api.github.com/users/erumhannan/orgs","repos_url":"https://api.github.com/users/erumhannan/repos","events_url":"https://api.github.com/users/erumhannan/events{/privacy}","received_events_url":"https://api.github.com/users/erumhannan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-27T07:23:42Z","updated_at":"2015-01-27T09:54:34Z","closed_at":"2015-01-27T09:54:34Z","body":"i m following this tutorial and have used this code to select image from gallery and want to find the correct code from barcode image \r\nhttps://nizaqatali.wordpress.com/2011/06/15/android-qr-code-reader/\r\n\r\n\r\nLOGCAT:\r\n\r\n01-27 11:41:06.794: I/Image File Path(3411): /storage/emulated/0/DCIM/Camera/0126151235b.jpg\r\n01-27 11:41:06.814: D/AndroidRuntime(3411): Shutting down VM\r\n01-27 11:41:06.814: W/dalvikvm(3411): threadid=1: thread exiting with uncaught exception (group=0x41861e48)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): FATAL EXCEPTION: main\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): Process: com.example.scannerapplication, PID: 3411\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:11264 flg=0x1 }} to activity {com.example.scannerapplication/com.example.scannerapplication.ImageSelectionActivity}: java.lang.UnsupportedOperationException: This luminance source does not support cropping.\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat android.app.ActivityThread.deliverResults(ActivityThread.java:3382)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat android.app.ActivityThread.handleSendResult(ActivityThread.java:3425)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat android.app.ActivityThread.access$1300(ActivityThread.java:139)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1248)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat android.os.Looper.loop(Looper.java:136)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat android.app.ActivityThread.main(ActivityThread.java:5105)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat java.lang.reflect.Method.invoke(Method.java:515)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:792)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat dalvik.system.NativeStart.main(Native Method)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): Caused by: java.lang.UnsupportedOperationException: This luminance source does not support cropping.\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat com.google.zxing.LuminanceSource.crop(LuminanceSource.java:94)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat com.google.zxing.BinaryBitmap.crop(BinaryBitmap.java:106)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat com.google.zxing.multi.GenericMultipleBarcodeReader.doDecodeMultiple(GenericMultipleBarcodeReader.java:127)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat com.google.zxing.multi.GenericMultipleBarcodeReader.decodeMultiple(GenericMultipleBarcodeReader.java:64)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat com.google.zxing.multi.GenericMultipleBarcodeReader.decodeMultiple(GenericMultipleBarcodeReader.java:57)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat com.example.scannerapplication.ImageSelectionActivity.onActivityResult(ImageSelectionActivity.java:106)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat android.app.Activity.dispatchActivityResult(Activity.java:5467)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \tat android.app.ActivityThread.deliverResults(ActivityThread.java:3378)\r\n01-27 11:41:06.824: E/AndroidRuntime(3411): \t... 11 more\r\n01-27 11:41:13.604: I/Process(3411): Sending signal. PID: 3411 SIG: 9\r\n01-27 11:46:54.254: I/ViewRootImpl(4238): ViewRoot's Touch Event : Touch Down\r\n01-27 11:46:54.314: I/ViewRootImpl(4238): ViewRoot's Touch Event : Touch UP\r\n"},"comment":{"url":"https://api.github.com/repos/zxing/zxing/issues/comments/71618729","html_url":"https://github.com/zxing/zxing/issues/298#issuecomment-71618729","issue_url":"https://api.github.com/repos/zxing/zxing/issues/298","id":71618729,"user":{"login":"srowen","id":822522,"avatar_url":"https://avatars.githubusercontent.com/u/822522?v=3","gravatar_id":"","url":"https://api.github.com/users/srowen","html_url":"https://github.com/srowen","followers_url":"https://api.github.com/users/srowen/followers","following_url":"https://api.github.com/users/srowen/following{/other_user}","gists_url":"https://api.github.com/users/srowen/gists{/gist_id}","starred_url":"https://api.github.com/users/srowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowen/subscriptions","organizations_url":"https://api.github.com/users/srowen/orgs","repos_url":"https://api.github.com/users/srowen/repos","events_url":"https://api.github.com/users/srowen/events{/privacy}","received_events_url":"https://api.github.com/users/srowen/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T09:54:34Z","updated_at":"2015-01-27T09:54:34Z","body":"This is not a question about this project"}}