exporting images from jitter

Matous Hejl's icon

Hi everyone!

I'm trying to export images from jitter.matrix that I fill with jit.fill. However, when I hit exportimage an empty file is created. I would much appreciate any suggestions on why this's happening. A sample patch is bellow.

Best regards,

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

Matous

Rob Ramirez's icon

for exportimage to work as expected, you should send 4 plane ARGB data to the jit.matrix, and you should set the alpha plane to full visibility (unless your exporting transparency with an image format that supports it like png or tiff).

jit.pack is the tool for the job:

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

Matous Hejl's icon

Thanks a lot! works...

foldh's icon

Rob,

Or indeed anyone, is there a way to export images without human interaction, i.e. without having to set an image name and press save? What I would like to be able to do is play a video and than have Max export an image at set or random intervals. The image file names could just be something like export0, export1, export2 etc. Is this doable within Max?

Cheers

Paul

2K's icon

Hi Foldh, I usually do something like this to save automatically on the Desktop. Hope it helps!

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

foldh's icon

Hi 2K, perfect! That is a really big help, thank you!

Roba Mostafa's icon

Hi 2K, your patch really helped me out! I was trying to save the matrix pictures somewhere else other than the desktop, how can I do so? Awaiting your reply, as I have been searching with no luck to find this out! Thank you

Source Audio's icon
Max Patch
Copy patch and select New From Clipboard in Max.
tborax's icon

Hi-
bumping this.
I'm with Roba above. I don't understand why the 2k patch works, and I've tried playing with different paths to no avail.

How can put these images into a set folder?

Roba Mostafa's icon

Hi TBORAX,

I found this out somewhere on cycling 74's forum and it worked perfectly well for me. You specify a folder once, and you write the picture's name, then each time the counter receives a bang, it saves the picture at your specified destination with the name you wrote and a new picture's number. Beware that if you closed max and opened it again the pictures will override, so move them somewhere else.

Hope this helps,
Roba

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


John Ngamwilaidee's icon

how to save your Patch

John Ngamwilaidee's icon

Please help me how to record the painting and export to image file

Kevin & Pat Help3.maxpat
Max Patch