Convert base64 to Image in Python

后端 未结 4 1888
走了就别回头了
走了就别回头了 2020-12-03 14:31

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

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

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-03 15:01

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

    See wikipedia for more info

提交回复
热议问题