webcam resolution

yurki's icon

Hello,
I have a vision pro logitech webcam.
resolution he should be able to handle is 1600 x 1200 max.

strange thing is that I cannot get more then 640 x 480 in max/msp,
whatever I set grab on....
I cannot find anything in the webcam settings.
Working on windows right now.

Max Patch
Copy patch and select New From Clipboard in Max.

Hope anyone has an answer.
thanks!

cap10subtext's icon

Don't have max open to see your patch but jit.dx.grab 1600 1200 doesn't work? Or the dim 1600 1200 message?

Ed's icon

You want to use the 'format' attribute or send a 'format' message (See jitdx.grab reference)

To see how this works, open the jit.dx.grab help patch. In the patch, click on 'open' to start your camera. Then click on 'getformatlist' and it will present you a pull-down menu of resolution options you can select from. When you select one of the options, a 'format selection-number' message is sent to jit.dx.grab.