Post text to image conversion and image back to text

i am going to develop an app in android which will convert text to image like if i write hello then image will be formed against these words and this image will be saved with some key so that it also convert back to text from image. can anyone tell me best way of doing or best tools!!