Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the best way to handle a Base64 encoded image? #263

Open
1 task done
PatrickAdams opened this issue Nov 4, 2022 · 0 comments
Open
1 task done

What is the best way to handle a Base64 encoded image? #263

PatrickAdams opened this issue Nov 4, 2022 · 0 comments

Comments

@PatrickAdams
Copy link

PatrickAdams commented Nov 4, 2022

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:

  • CocoaPods

Kanna version (or commit hash):

5.2.7

swift --version

5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant