在浏览器查看base64格式的图片

在浏览器查看base64格式的图片

主要用于查看图片,注意‘ ,’:

在浏览器地址栏输入: data:image/jpeg;base64, base64字符串
然后回车,就可以看到图片

例子:
data:image/jpeg;base64,/9j/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAAUCAAUADQEASIAAhEBAxEBBCIA/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADgQBAAIRAxEEAAA/APn+rcelajLaG7jsLp7YKWMywsUwOp3YxgYP5UaVapfaxZWkpYRz3EcTFeoDMAce/NepatDdXniAadp3iSHTp7WINaWEMZCsAoPzkHGcj7uDhQDjk11YfDe1i5P06fqJux8/1qQ+GteudLOqQaJq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EC2aKw6GJJIZnKFSvzM/wB7eAAAKK8zop0cjwypLE7JIjBldTgqR0IPY167pMkVz4Y/4S6a0t31lLOb99tIDFNwBIBxkhQCRg44GBxRRXpZZrOSfa/zFIkgnmtbiK4t5ZIZ4nDxyRsVZGByCCOQQec19R+GJ7e/+HR+KN1pljL4sh0q6JuzGQJDD5iqzKCBuIQAsMHBKgheAUV5LcXEt3cy3M7b5ZXMjtgDLE5JwPeoqKK8xu+rKPmC/vrjU9Rub+8k8y6upXmmfaBudiSxwOBkk9Kr0UUUUUUAFFFFFFFFABRRRX//2Q==

    原文作者:lzgoer
    原文地址: https://blog.csdn.net/lliuzzhao/article/details/81533767
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞