本文介绍了base64转换为图像在Python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有MongoDB数据库和我收回这相当于我的形象的base64数据。

I have a mongoDB database and I recover base64 data which corresponds to my Image.

我不知道如何为base64数据转换为图像。

I don't know how to convert base64 data to an Image.

推荐答案

如果您想使用在一个网页,你可以把连接的base64 $ C $光盘镜像到一个HTML文件。

If you'd like to use that in a webpage, you can just put the base64 encoded image into a HTML file.

这篇关于base64转换为图像在Python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 21:51
查看更多