Encodes Image and sends it as String