10-18-2006, 09:07 AM
Is there any way to use alphablending to anti-alias images that are used in controls (A buttons .image for example) instead of using a transparency color? (I use magenta) that results in a jagged edged image (unless you know the exact background color/patern and draw for that)
10-18-2006, 11:52 AM
Easiest Answer: Use an ImageList control and play with the transparency color till it works. Mine ended up on white when I made a PNG with a transparent background and antialiased/alphablended edges on my graphic.
Less Optimal Answer: You can always load a PNG or other graphic format through the Image.FromFile method, transparency seems to come through good with that. I don't like that though because I'd have to package the images with the application.