Published
- 1 min read
get file extension from base64 string
The solution for this is noted below
get file extension from base64 string
Solution
extension = base64_data.split(';')[0].split('/')[1]
Try other methods by searching on the site. That is if this doesn’t work