Reg: Image Encryption and Decryption in PGP

Hi,
I want to encrypt and decrypt an img in PGP by using bouncy castle . I have completed my text encryption and decryption .plz refer the below code for Text encryption and Decrytpion.By using the same code,i'm trying to decrypt an image..But i couldnt get decrypted(Original) output...Give the solution,How to decrypt an img?