如何改变摄像头(视频图像)的大小????????????????????
如何更改(摄像头取像)动态图像的默认高宽(默认是320*240)啊。我这么设置可是没有效果。。
我这样写代码,可是没有更改设置。
'下面这些我放在状态回调函数里的。
'info是个CapStatus结构
SendMessage ihwnd, WM_CAP_GET_STATUS, Len(info), VarPtr(info)
info.uiImageWidth = 640
info.uiImageHeight = 480
SetWindowPos ihwnd, HWND_BOTTOM, 0, 0, _
info.uiImageWidth, _
info.uiImageHeight, _
SWP_NOMOVE Or SWP_NOZORDER