html - What kind of image file format does the Google Charts QR code generator use? -


if use google charts qr code generator html output looks this

<img src="https://chart.googleapis.com/chartcht=qr&amp;chs=500x500&amp;=hello+world&amp;choe=utf-8">` 

to me not look data uri , has no filename extension either.

what kind of image format this?

png. doesn't have .png file extension, have image/png mime type:

enter image description here

when loading image, browser receives following header:

content-type:image/png 

this lets browser know it's png.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -