我爱Aspx >> C#.Net >> 利用FSO取得BMP,JPG,PNG,GIF文件信息set objTextStream = nothing
set objFSO = nothing
end function
':::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
'::: :::
'::: Functions to convert two bytes to a numeric value (long) :::
'::: (both little-endian and big-endian) :::
'::: :::
':::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
function lngConvert(strTemp)
lngConvert = clng(asc(left(strTemp, 1)) + ((asc(right(strTemp, 1)) * 256)))
end function
function lngConvert2(strTemp)
lngConvert2 = clng(asc(right(strTemp, 1)) + ((asc(left(strTemp, 1)) * 256)))
end function
':::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
'::: :::
'::: This function does most of the real work. It will attempt :::
'::: to read any file, regardless of the extension, and will :::
'::: identify if it is a graphical image. :::
'::: :::
'::: Passed: :::
'::: flnm => Filespec of file to read :::
'::: width => width of image :::
'::: height => height of image :::
'::: depth => color depth (in number of colors) :::
'::: strImageType=> type of image (e.g. GIF, BMP, etc.) :::
'::: :::
':::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
function gfxSpex(flnm, width, height, depth, strImageType)
dim strPNG
dim strGIF
dim strBMP
dim strType
Ҷƪл˵?
VBS、ASP代码语法加亮显示的类(2..[05-12]
Filter与updatebatch混合使用实现..[05-12]
如何正确显示数据库中的图片[05-12]
ASP 3.0高级编程(四)[05-12]
URL Moniker概述[05-12]
利用ADO进行MSSQL数据库操作[05-12]
JSP由浅入深(2)—— 第一个JSP[05-12]
实例学习PHP之投票程序篇[05-12]
ASP实用大全-ASP服务器组件(7)[05-12]
在Java中应用State设计模式(1)[05-12]