Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add support for base64-encoded images as values #38

Closed
kmike opened this Issue · 3 comments

2 participants

@kmike

What do you think about adding support for displaying base64-encoded images as vaules? Just like URLs are highlighted the data that looks similar to base64 encoded image can be highlighted and changed to actual image on click (using data:uri).

@bhollis
Owner

How would we know it's an image and not some other kind of data?

@kmike

We can't know that for sure, but we can guess by checking if first bytes matches base64-encoded PNG or JPEG signatures and that data doesn't contain symbols outside base64 alphabet.

@bhollis
Owner
@bhollis bhollis closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.