解码 Base64 图像 [英] Decoding Base64 Images

查看:55
本文介绍了解码 Base64 图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在网上找到了一个文件,我确实需要它的原始 url,但它被编码为 Base64.这是一张图片.

I have recently found a file on the web, and I really need the original url to it, but it's encoded into Base64. It's an image.

URL 以这样的内容开头:data:image/png;base64,,然后是大量的数字和字母.

The URL Starts with something like this: data:image/png;base64, and then there are loads of numbers and letters.

我的问题是,如何将其解码为原始形式?例如而不是 mwo1fw#http://etc

My question is, how can I decode this to its original form? e.g. instead of mwo1fw# to http://etc

推荐答案

使用这个网络工具:

http://www.motobit.com/util/base64-decoder-encoder.asp

设置输出格式为二进制,然后复制粘贴data:image/png;base64,;后面的base64数据您的浏览器将下载该文件.将其重命名为 PNG 即可.

Set the output format to binary, then copy-paste the base64 data that follows data:image/png;base64,; your browser will download the file. Rename it to PNG and you're good to go.

这篇关于解码 Base64 图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆