Kanna
Kanna copied to clipboard
What is the best way to handle a Base64 encoded image?
Description:
When I parse img urls from a website I am getting Base64 image urls. Is there any way to get the actual url to the image or is there a way to convert this to an image url or even an actual image?
Example: I was parsing polygon.com
and some of the image urls were formatted in Base64 like this:
data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs
Installation method:
- [x] CocoaPods
Kanna version (or commit hash):
5.2.7
swift --version
5