在vc ++ mfc中将图像文件编码并解码为base64字符串 [英] Encode and Decode image file to base64 string in vc++ mfc

查看:906
本文介绍了在vc ++ mfc中将图像文件编码并解码为base64字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能帮我在vc ++ mfc应用程序中将图像文件转换为base64字符串并解码为base64字符串到图像文件。

解决方案

你必须读取每个字节图像数据并将其值转换为base64字符串。您还必须提供有关图片和数据的一些信息。



阅读维基百科关于背景。


你听说过 Google [ ^ ]

Can you help me to convert image file to base64 string in vc++ mfc application and decode to base64 string to image file.

解决方案

You must read every byte of the image data and convert its value in a base64 string. You must also provide some information about the picture and data.

Read at the wikipedia about the background.


Have you ever heard of Google[^]?


这篇关于在vc ++ mfc中将图像文件编码并解码为base64字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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