Skip to content

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

@PatrickAdams

Description

@PatrickAdams

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions