jit.desktop full resolution capture then resize ?

Feb 2, 2011 at 5:19pm

jit.desktop full resolution capture then resize ?

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 32×32 pixel low resolution version of my complete desktop capture.

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

Many Thanks

Jack

– Pasted Max Patch, click to expand. –
#54751
Feb 2, 2011 at 7:46pm

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 320×240 pixels from the desktop, and downsamples to 8×8 pixels before outputing the matrix.

#197140

You must be logged in to reply to this topic.