Click here to Skip to main content
15,901,122 members

Comments by Mineodo68 (Top 22 by date)

Mineodo68 9-Sep-20 3:33am View    
Alright so i just found something :
"The WinForms implementation of Form only permits a solid colour to be used as the transparency key. It's not possible to have varying levels of transparency."

So maybe it's not possible on windows Forms. But thanks for you help Gerry !
Mineodo68 9-Sep-20 3:15am View    
So i tried to do what you just wrote (and thanks for your help).
The fact is that it works when it's on my windows form. But when I save it as a PNG, it simply doesn't works anymore...

Here is what i have : https://image.noelshack.com/fichiers/2020/37/3/1599636187-transparent2.png

As you can see, there's been a transparent line on the middle (represented on DarkGray), but all around it, there's some black/blue colors. I think that the problem comes when i save the image, maybe the gradient transparent brush is not supported... I really don't know
Mineodo68 8-Sep-20 2:57am View    
I already did something like that, but it only works with a color without gradient.
Thanks for your help, maybe someone will find something.
Mineodo68 7-Sep-20 3:06am View    
I just uploaded a picture to illustrate.
Mineodo68 7-Sep-20 3:00am View    
Yeah, you got that. A part of my image (drawn without gradient brush) is transparent. But all the part with the gradient brush isn't transparent...