Forums > MaxMSP

Adjust an image with pictrl

June 13, 2013 | 4:14 am

Can any one explain me how can I adjust an image with [pictcrtl]?
In the examples you can see a couple of images with different size per each.
When I load an image to [pictcrtl] I get only a certain part of it.

Here for example I have tried to use the attached image:
on the right side you can see the original image and on the left side the result in max.

it is important to mention that i also trie to change the patching rectangle attributes and to size it with the mouse (both just stretched the half of the shown image)


June 13, 2013 | 11:10 am

Read up a bit more in "Picture Formats" in the Help file, there are some attributes in the Inspector which can cause this behavior. Also "Snap to Image Size" will affect things.


June 13, 2013 | 12:28 pm

Too complicated.
However, for a button I could just use fpic with ubutton on it…


June 13, 2013 | 3:52 pm

or a [button].


June 13, 2013 | 11:50 pm

I just read once again the reference for [picctrl] and i still don’t get it.

The first row of images is mandatory: these two images are used for the idle and clicked states (values zero and one, respectively) of the button. The next row of images, if present, is used for the control when it is in its inactive state. The next rows contain the masks for the top row of images, and the inactive images if present.

Can anyone please explain what does it means?


Viewing 5 posts - 1 through 5 (of 5 total)