Default [Q] Scan barcode from gallery images

Hey Everyone, i am creating a barcode scanner app. I have successfully create an app, in which i am scanning barcode from camera, but i also want to scan images which are in my gallery or which i have downloaded in my emulator/device.
I am using ZXING library.

Please help me with that.