✅ How can i make clean tranparency
i was trying to make loading form and i want to launch program with a photo. But im using transparencykey and its look so ugly look at this photo alright maybe my backcolor isn't good for transparencykey but idk how to make it clean.
11 Replies
back color and transparency key is red btw
i forgot to say
Try different colours maybe? Green, magenta, etc?
Ideally, you'd just use an image with transparency, but... t's Winforms, so I wouldn't be surprised if it somehow had no PNG support lmao
Green seems to be giving best results so far
nope all are same
You might also need to edit the image to remove the antialiasing
Since whatever Winforms does is more akin to masking that actual transparency
So pixels that are green-but-not-quite won't be masked
how can i?
Either Winforms has some setting that lets you add some leeway to how it's masked
Or edit the image and make the not-quite-green pixels either fully green to mask them away, or fully not-green to not mask them
makesense
thx
a color key isnt going to work with this
i used a blend function with layered window for anti aliasing to work property with a transparent background
maybe you can use that for a control
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.