思路base64编码是纯文本的,base64是以字符串的形式存在,包括但不限于python,js,C#,C/Cpp.
这里给出python示例:运行后可以显示一张opencv的官方例程图.
废话不说,上程序.
python
import os,sys,time,cv2,base64,requests
from PIL import Image
from io import BytesIO
import numpy as np
image_data="""/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCADeAV4DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDg91G6kpQtfvp+WCinbeKNvFOHpRcBu2j7tP20jLSAb96lVaaM5qRRSsDFVRml20KduSeABzUjRspXKsoIzllwPrn0ptW3Jeg1RS7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jDV6EKaitjnuxVcyfzpwTrxUsUY4FS+SCPxrUoqGE9aVYz3q75XHNNZB2rN7g9iAR8Ugj5NT7cVH3NMgiZaeq8A0rLT0WjQByxgjpT/ACxjpilXgU5mxipAgZKhkWrLNUbruFOwFcqKayj1qVhimE0gGeWKjbAp+7ORUUnWqTKuKMUj9KZS/eqhCUq9fWl20baBC8elI3IpfLFBTFMCPbRtqTyxQUxSKP/Z"""
image_bytes = BytesIO(base64.b64decode(image_data))
image = Image.open(image_bytes)
image_np = np.array(image)
image_bgr = cv2.cvtColor(image_np, cv2.COLOR_RGB2BGR)
cv2.imshow('Image', image_bgr);cv2.waitKey(0);cv2.destroyAllWindows()
当然:html>js也是可以的:
python
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>文本显示图像</title>
<script>
// 这个函数将在按钮点击时被调用
function displayImage() {
// 定义 base64 编码的图像字符串
var base64ImageString = "这里放你的base64编码的图像字符串";
// 将 base64 字符串设置为图像的 src 属性
document.getElementById('displayedImage').src = 'data:image/jpeg;base64,' + "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCADeAV4DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW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UqqaeFCmnY44qbkkeDSquRUgUn2p6x8daLCIguKXinlajamMR8YqFj6VIy8UzYBzQIjwaNtPwKRvatCxNtKqikGaG4pAOwPWg0zdS59KBXGtUf8AFUpzTDQAlLSUUDNuiiigBR3pjU6kxQBGcUMPlFPZaYeeKYEbU2n4zTWFUAlFFI1Argaax9KKMUrAN3HiprNnW6idOJAwKn0PSoWajcWyM7fQr1FRKHMrFRbi7o+yPgrYyaVosE93M895Od2wsDhR3xXqXib4pWuk6Q6y+XG33SXYDjBr8/LHxRq1m8LQ6hcK0IO0+YR1+lLe+JtQ1Nm+23k90SP+Wj5FfL1sndWpzN6HrRzCUY8qPePFHxmEk1x5LF4wcKpbIryzxB8TZ7+LyFQjBJDd81xjXLPkAkCqsjFcnrXq0cHToxSSPOqVZVHdstSaxcTMS/ck896gkuW65xn0quvzcnrUwjDV6EKaitjnuxVcyfzpwTrxUsUY4FS+SCPxrUoqGE9aVYz3q75XHNNZB2rN7g9iAR8Ugj5NT7cVH3NMgiZaeq8A0rLT0WjQByxgjpT/ACxjpilXgU5mxipAgZKhkWrLNUbruFOwFcqKayj1qVhimE0gGeWKjbAp+7ORUUnWqTKuKMUj9KZS/eqhCUq9fWl20baBC8elI3IpfLFBTFMCPbRtqTyxQUxSKP/Z";
}
</script>
</head>
<body>
<!-- 按钮,点击时调用 displayImage 函数 -->
<button onclick="displayImage()">文本显示图像</button>
<!-- 图像标签,用于显示获取的图像 -->
<img id="displayedImage" alt="加载的图像" style="display: block; margin: 0 auto;">
</body>
</html>
C# 改天补上;C/Cpp 哎懒得配置环境了,有心情再说吧.
88