jit.matrix exportimage not working on Windows Max 7
I'm actually working on a patcher saving sonograms with jit.destop -> jit.matrix getting a filepath prepended with exportimage. Everything worked fine on PC and Mac with Max 6. Since I'm using Max 7 / 7.1 32-bit or 64-bit I'm getting black PNG or jpeg images on my PC and on my Mac everything works as expected.
The screenshot appears as expected in my jit.pwindow connected for testing purposes.
This seems to be either a bug or something that makes a new difference in the PC environment.
Thanks for some help.
hi astammet.
i just tested with 7.1 on both 32 and 64 bit versions of windows 8 and cannot reproduce the issues you are describing.
i used the following patch.
we are going to need a full patch and complete system specs to diagnose further. you can send this info to support if you'd prefer not to post publicly.
I made the test (debugging1 beginning with your patch) with Max 7.1 on an Acer Laptop with Windows 10, 8 GB Ram. But the problem has already appeared earlier, on the same computer, while it has been turning with Windows 8.1.
ok i see what's going on here.
it looks like jit.desktop sets the alpha plane to 0 for some reason, and therefore the image exporter makes the images invisible.
i'll try and find out why this is, but in the meantime your workaround is simply to give the matrix a fully visible alpha plane. jit.gen does this quite easily, as in the following example:
Thank you very much, Rob. It's now working as expected.