Pictctrl: toggle HELP - issue with sizing .png

pascalbabare's icon

Hi There,

I'm a serious amateur with Max, and this issue is really stumping me:

I want to use my own .png image for a pictctrl toggle with inactive image, and I've read up on how you should do this and searched the forums long and hard, but can't seem to find an explanation for why max is doing what does to my image.

Every time I select my image (which is a 4x4 image of a circular icon with transparency) in the inspector, it immediately resizes it to a horizontal rectangle, about a quarter of the size of the original image. Inside the rectangle I can see a portion of my icon, with transparency etc, but I can't drag the box to make it include the entire image. When I do drag the box, it only stretches that particular portion of the image. Snap size to picture size makes no difference. I've tried creating a 6x tile of the image (like it shows in the tutorial for toggles), but it still seems to select a random portion of the image.

Is there something I'm missing? Does it need to be a particular size? Your help would be greatly appreciated. Also, I'm using max 5.1.3.

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

Thanks!

4480.GreePlay2.png
png
pdelges's icon

When sending a patch, it's a good idea to keep it as small as possible. Most of what you sent is useless to me and doesn't help to understand what's wrong.

The way you use the active and inactive messages is a bit strange...
When looking at your .png, it's obviously not formatted the way it's recommanded in pictctrl's helpfile.

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

This may help you (don't forget to check the inspector):

4485.GreePlay3.png
png
pdelges's icon

Put both the patch I sent and the .png in the same folder, and reopen the patch so that it can find the right picture! Or you'll get some weird result...

p

pascalbabare's icon

Awesome, thanks so much, Patrick - very much appreciated. Forgive my lack of knowledge/clarity

Cheers,
p.