Im trying to convert a base64 file with this code
new File([new Blob([BASE64FILE], {type: 'image/png'})],NAME, {type: 'image/png'})
Something is wrong. When i send it to database have an incorrect format (not a image) and doesn't show anything.
So the question is: What is the right way to convert base64 to File?