[jit.movie] exportimage message, need to crop/resize the exported image

Greg Finger's icon

So I want to create a series of thumbnails, based on the first frame of each movie that is loaded into [jit.movie]. I have a message that looks like this "frame 1, bang, exportimage $1 jpeg", $1 being clip

it seems to export it always as full frame, no matter if i set the jit.movie dim or destination dimensions.

i'm looking to export these clips at 100 x 100 resolution, either by squeezing the image into that proportions or taking a square cut (let's say 1080x1080, cropping 420 pixels off either side from the source), and then sizing it down to 100x100.

any ideas?

thanks

Rob Ramirez's icon

hi greg. there's several things that could be going wrong here (including bugs in jit.movie). please post your patch.

Greg Finger's icon

ok. this is an abstraction. the part that needs fixing is the lower left. whatever folder of movies you drop into the drop zone in the upper left will need a folder within it called "thumbnails".

the jit.movie should be just a standard initial object, nothing fancy. but i guess fancying it up will be required to crop the exported image.

also if there's anything within the patch that could be made more efficient, please feel free to comment/tear apart.

also Mira seems to be crashing sometimes when sending a bunch of (no more than 16) fpic's to it. Have yet to experiment to see if the size of the actual file, or if it's the speed at which it's being sent (really quickly by an uzi). any insights into that?

VDMX_clipName.maxpat
Max Patch