8
【笔记】Base64图片渲染及下载
source link: https://feiju12138.github.io/2022/07/18/Base64%E5%9B%BE%E7%89%87%E6%B8%B2%E6%9F%93%E5%8F%8A%E4%B8%8B%E8%BD%BD/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Base64图片渲染及下载
data:image/jpeg;base64,xxx
:Base64代码
<img src="data:image/jpeg;base64,xxx">
<a src="data:image/jpeg;base64,xxx" download>
定义文件名
<filename>
:文件名
<a src="data:image/jpeg;base64,xxx" download="<filename>">
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK