Loading Images with jitter
Hello everyone!
I am quite new in Max/Msp-Jitter world!
I want to load some images in to jitter and make some kind of a fast slide show.
How could that be possible?
thanx
anton
Magic.
No seriously, there are many ways to do it. You could, for example, load every image into a separate frame of a jit.qt.movie object, then you navigate easily. But you could also use jit.matrixset to store them, but if the images are not the same size this is a little tricky.
I don't know how far you are using jitter, but your question is a bit too general to make a patch example. You should go and try a few things yourself and see how they work out, and come back here if you have more specific questions. Good luck!
Firstly thanx for the reply!
Secondly I know that my email wasn't very clear on what I want to do.
Here is the situation:
Grab images with max sth like 15 per second and I store to a folder. Then another software does some image analysis trying to find the appropriate ones. Then the "good" images are copied in another folder. From there now I want to load them some how with jitter and play the on top of an existing looping video. The images should be shown with the same spead (around 15 fps)
thanks a lot
lyan
Take a look at image2movie.pat in jitter example (demo) folder.
Thanx for the tip but I want to do that live!
the whole thing suppose to be a live installation..
any other suggestions?
thanx
lyan
Moreover is there a way to check how many files-images, I have in a folder?
sketch
ignore the upper post i was to quick
You can use this live too, but you still need to load a list of images you're going to analyze later. Jazmatajz's hint would be useful here i think, provided you modify it.
If you use [folder], dump all the files you like into a list, and then do [zl len] you'll know how many there are...
I posted a small patch in this thread:
https://cycling74.com/forums/index.php?t=msg&th=34514&start=0&rid=5118&S=f6ea317dba636318ea30b17e5d62224f
Maybe you could check that out. All the files with some particular extension are collected in a [zl reg].
You could then create a [metro 66] -> [counter] -> [zl nth] to load and 15 pictures per second.
great guys thnx a lot!
I ll try and I ll u know
lyan
thanx Bas I didn't know the existence of [folder] object!
this does the trick!
Actually I do have one more question (I hope the last cause I need my project to reach its completion!)...
How can I know the current frame of a movie that is played with [jit.qt.movie] object. I know the framedump but what I do want is while paying to give me its current frame even while looping!
Best
lyan
04 controllingmovieplayback (jitter tutorial)