jit.matrix @adapt1 & Attrui image dimensions query

Jay Harrison's icon

Hello,

I would like to be able to load in an image to a matrix and have my patch output the dimensions of the image. So far I have managed to achieve this by using jit.matrix @adapt1 with Attrui (dim). This gives me the dimensions of the image and displays them inside the Attrui object which is great however I now need to be able to have the dimensions in a message or two number boxes, anywhere where I can get at the numbers and feed them another part of the patch.

Would you be able to let me know if there is a way of outputting the dimensions displayed inside an Attrui object or failing that if there is another way of getting the image dimensions into a message or two number boxes?

Thank you for your time

Jesse's icon

jit.matrixinfo

Jay Harrison's icon

Thank you very much! This is exactly what I was looking for.