the base64 data is converted to png file now