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?

Refer the below link for text Encryption and Decryption.
Sample Java BouncyCastle Algorithm for Encryption - SNCWiki

Rectify my pblm.