jit.desktop full resolution capture then resize ?

jack2609's icon

Hi,
I am more or less completely new to the whole world of Max MSP and jitter, however i have been trying to teach myself the basics over the last couple of weeks.

I would like to capture my whole desktop using the jit.desktop function, i manage to get this working correctly with no trouble at all.

My question is can i then take this full desktop resolution and scale that down to a specified size (the same way you can with the jit.qt.movie) ?

I have included the patch i have so far, the project aim is to be able to display quicktime movies and a desktop capture over serial over usb to an arduino, which in turn will pass SPI data to a matrix of 16 Sparkfun RGB matrices - resulting in basically a 32x32 pixel low resolution version of my complete desktop capture.

any help and advice on this scenario would greatly be appreciated.

Many Thanks

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

Jack

Rob Ramirez's icon

you can specify a resolution lower than the size of the capture rect.
like this:
jit.desktop 4 char 8 8 @rect 0 0 320 240

which captures 320x240 pixels from the desktop, and downsamples to 8x8 pixels before outputing the matrix.