如何动态生成WBMP?
编程学习 2021-07-05 11:26www.dzhlxh.cn编程入门
如何动态生成WBMP?
<%@ Language=VBScript %>
<%
Function StoB(varstr)
str2bin = ""
For i = 1 To Len(varstr)
varchar = Mid(varstr, i, 1)
str2bin = str2bin & ChrB(AscB(varchar))
Next
StoB = str2bin
End Function
img=chr(0) & chr(0) & chr(5) & chr(2) & chr(0) & chr(&Hf8)
Response.ContentType="image/vnd.wap.wbmp"
Response.BinaryWrite stob(img)
%>
上一篇:如何处理超时事件?
下一篇:详解CSS不定宽溢出文本适配滚动