注册 登录
编程论坛 VFP论坛

问一个,这种图片编码格式是什么?

ljb8864 发布于 2023-08-25 15:28, 689 次点击
_9j_4AAQSkZJRgABAQAAAQABAAD_2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL_2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL_wAARCABAAKADASIAAhEBAxEB_8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL_8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4-Tl5ufo6erx8vP09fb3-Pn6_8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL_8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3-Pn6_9oADAMBAAIRAxEAPwDzgytjB4H0o85iOcDFUvsxznzXPHrxSQ2ZuLgIrHd7tgVzWZ7d0uhcM-f4_wBaYZgCSZOM561Knh-bli64J-6VbP16Uo8PzAEn5uRjjH9aluK3ZDqRRA9wpGS4wO-aYLuHO1pNpq-uhsEAdHB7g4qrJZQQXUkUxMflkglxn6d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05qNOUe49zndY2_b5QBzuySR3wKzW4U881pa0pGoSdlPSsxlG05Jr1sMv3aZrDYkb0qXSWKatAdxz5gHFRA-lJCz29ys0ZwysGBIzyK1a6BNM7OSDzIGj3Fd3UrwfrWedEtkuYJ0DgxDHXr7_WqDeIr0sNvkjAwB5YNQnW9QYZ88AkYyqAf0rgjSrRbtsYteR008MdxA0M0Syo_VWGc1zMqWel6o6wQEiFQRnk59qhOpXhwWuJCcetVmZnO4nLepPP51rh6VSD1ehMo3WiOwsJ_tFqkwI2suSCRlfY-9SzPbMAZHiOOzEVxSMyZ2nDE8kd6cZXI5cnnPJqKmDfPzQY4Ql1OwNzZwEMJI1ccYUdKadUtI_laZRx1zXIeYTyTzSbz3bNDwk5fFIr2buda2r2gG0yHn0qIa7ahjlX5OBuGK5beM5bHFIZc96awK6sr2fmdN_wAJFbZ-WKXAJBJwKhuNdWSJkjjCswIznpXP-YAeSBTWmUEjI_OrWCpoSiurJraRrV1lhkZZU4BJJH5VqjX7ryQDsdh2AxXPm5Q87hge9H2yNRyw-tdcqMZxs0SlFPc3Brt2W3AhPU4pr61dkcyk_WsE3qdc01r5COAc1k8HT7FN0-5q3Fw1wdznnk-vNV3wUNZ5v89B-dRvfE8AVvClyqyEq0F1P__Z
10 回复
#2
ljb88642023-08-25 15:28
如何转换?这个编码

 src="data:image/jpeg;base64,/9j/4AAQSkZJRgAB

[此贴子已经被作者于2023-8-25 15:34编辑过]

#3
pvm20002023-08-25 15:35
数据从哪里来的
#4
ljb88642023-08-25 15:42
回复 3楼 pvm2000
识别摄像头抛过来的。
#5
csyx2023-08-25 16:46
是幅车牌图片

[此贴子已经被作者于2023-8-27 13:24编辑过]

#6
csyx2023-08-25 16:49
cc = 你的编码字符串
cc = Chrtran(Chrtran(cc, '-', '+'), '_', '/')
cc = Strconv(cc, 14)
StrToFile(cc, 'd:\aaa.jpg')
#7
ljb88642023-08-25 16:52
回复 6楼 csyx
#8
csyx2023-08-25 16:54
Base64编码中包含两个特殊字符“+”和“/”,它们在字符集中的ASCII码分别为43和47。这两个字符是Base64编码容易引起问题的地方,因为有些软件系统无法识别它们。在实际使用中,有时需要将这两个特殊字符替换为其他字符,例如在URL中使用Base64编码时,就需要将“+”替换为“-”,将“/”替换为“_”。
#9
ljb88642023-08-27 09:22
回复 8楼 csyx
原来如此
#10
吹水佬2023-08-27 11:00
一楼与二楼给出的不是同一组数据?
#11
sam_jiang2023-08-29 10:42
回复 4楼 ljb8864
我网上淘了个车牌摄像头,但是没有说明书,在摸索呢,有没有可以交流的?
1