Top "Data-uri" questions

A data URI is a URL whose scheme part is 'data:' and which directly represents a resource, rather than the location of a resource.

Python requests base64 image

I am using requests to get the image from remote URL. Since the images will always be 16x16, I want …

python base64 python-requests data-uri
Why use data URI scheme?

Basically the question is in the title. Many people have had the question stackoverflow of how to create a data …

html browser client data-uri
Using an Data URI SVG as a CSS background image

Backstory: Goal: create a triangular shadow that can be applied via CSS and is scale-independant (i.e. a vector, not …

css vector svg data-uri
SCSS variable in background image with SVG image data URI

In the following SCSS, I would like to use the fg-color variable within the url background-image attribute. $fg-color: #ff6464; i.…

css svg sass data-uri
"Aw, Snap" when data uri is too large

I'm writing a chrome extension which does the following: Downloads a file from a website to memory using XMLHttpRequest Adds …

javascript google-chrome-extension data-uri
Convert byte string to base64-encoded string (output not being a byte string)

I was wondering if it is possible to convert a byte string which I got from reading a file to …

python string python-3.x base64 data-uri
Data URI - how to create them in Java?

I have just been told to send the thumbnail of an image using data URI. I have been searching it …

java image data-uri
Data URI link <a href="data: doesn't work in Microsoft Edge

This simple code works perfectly everywhere except Microsoft Edge: <a href="data:text/plain;charset=utf-8,Test">link&…

hyperlink data-uri microsoft-edge
How to parse data-uri in python?

HTML image elements have this simplified format: <img src='something'> That something can be data-uri, for example: data:…

python image base64 data-uri
Convert Image Stream (JFIF - JPEG) format to DataURI using Javascript

I have tried to search an answer for this all over. It seems pretty straightforward, but my lack of knowledge …

javascript image angularjs data-uri