Adjust an image with pictrl

Jun 13, 2013 at 4:14am

Adjust an image with pictrl

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)

#252577
Jun 13, 2013 at 11:10am

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.

#252655
Jun 13, 2013 at 12:28pm

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

#252672
Jun 13, 2013 at 3:52pm

or a [button].

#252695
Jun 13, 2013 at 11:50pm

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?

#252712

You must be logged in to reply to this topic.