draw image on canvas and deliver result as base64 to a textarea