Anything binary can be converted (reversibly) to ASCII by the Base64 encoding. One of the libraries that implements it is
Jakarta Commons Codec. Understand, though, that no image-specific operations can be performed on that ASCII representation until it is decoded back to binary.
[ January 04, 2007: Message edited by: Ulf Dittmer ]