added Base 64 image encode/decode