C
C#2y ago
Flourish

❔ Transparent Issue.

Hello, I am creating an application to view Fortnite cosmetic details and one of the features is to show the series the cosmetic is in, for example Frozen Series which would showcase a white background with a dark tint to it. But the thing is whenever I try loading the series WITH the cosmetic overlapping it, the cosmetic picture itself stays with the color of my forms background. I've set both pictures to transparent and also made sure it's downloading it as an PNG. Please help!
13 Replies
Flourish
FlourishOP2y ago
Output: I would like to make the cosmetic clear so it would show the series. for example:
Flourish
FlourishOP2y ago
Anchy
Anchy2y ago
i believe winforms (im assuming this is winforms?) has limited transparency support but there are transparency keys you can use
HimmDawg
HimmDawg2y ago
png just supports transparency. That doesn't necessarily mean that you downloaded it with a transparent background. If you are using WPF, you can try to key out the color by using OpacityMask on an Image element. If you are on WinForms however, then I'd just remove the background in a photo editor instead of trying to key out the color.
Zerium
Zerium2y ago
if it is winforms then what might work is something like CosmeticPicturebox.parent = BackgroundPicturebox;
Flourish
FlourishOP2y ago
lemme try and yes, its winforms i did this and it doesnt even load the icon now The thing is the picture itself is from an api which downloads it as png, it just for some reason keeps the background of the form I don't know why oh my god there was an option the entire time to ignore the background i did it
HimmDawg
HimmDawg2y ago
fluffyFoxFine
Flourish
FlourishOP2y ago
😭 lol
Flourish
FlourishOP2y ago
sorry
Flourish
FlourishOP2y ago
HimmDawg
HimmDawg2y ago
What even is that control
Zerium
Zerium2y ago
Use "transFarentbackground"
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server