Win max7 64bit jit.movie getmoviedim bug

madbutter's icon

Bumped into a small bug with easy workaround: if you load a jpg into jit.movie and getmoviedim, the first dim (x) is right but the y is always 0. Works ok in 32 bit, also you can pass it on to a jit.matrix and getdim on that, so its just a "reporting" error (the matrix is correctly sized and passed, just the height is reported incorrectly). Movie files are fine just jpgs.

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

Pedro Santos's icon

If you use the "getdim" message instead of "getmoviedim" it seems to work correctly.

I've reported a related bug in the past: you first need to bang the jit.movie once before sending the getdim message, otherwise the dimensions reported are not updated. As an alternative to the getdim/getmoviedim messages, you can also connect the jit.matrixinfo to the output of jit.movie.

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

Rob Ramirez's icon

hi madbutter. thanks much for the report. i can reproduce and will get if fixed up for the next update.