1

I have a toggle buttons with custom images on them. I want them to look 'pressed' when the button is toggled.

I've tried to use brighter(fig, s)

but that doesn't darken the white areas of the icon.

I've also tried to do cdata = cdata+50; and then setting it back but that obviously complaines about values being too large for image. I could work around that I suppose but it there a know function that would just darken the image for me?

thanks!

4

1 回答 1

0

伽玛校正可能适合这里。

于 2012-05-06T20:24:13.297 回答