本文介绍了从字符串中提取图片数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的,
提前致谢.任何人都可以帮助解决以下问题.
我做了一个套接字应用程序,它从车辆跟踪unit.one
示例接收数据,如下所示:
Dears,
Thanks in advance. Can anybody help to solve my problem which is described below.
I did a socket application which is receiving data from a vehicle tracking unit.one
example as follows:
Example- %%D1,100,0,0004[data...][0d0a]
Head - %%D1
Amount of data package -100
The data package No. - 0
Data Length -1024 (0004 (low bit in front, high bit in back) 0004= 0x0400=1024;)
data- Original Picture data -1024(maximum)
Tail -0x0d0a
Data in hex
从上面的示例中,我想提取图片数据并将其存储到SQL表中. SQL表columname
是映像,datatype
也是映像.之后,我想将此图像列显示到aspx页面.
尽快寻求帮助.
From the above example, I want to extract picture data and need to store into the SQL table. SQL table columname
is image and datatype
is also image. After that, I want to display this image column to an aspx page.
expecting help asap.
推荐答案
这篇关于从字符串中提取图片数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!