❔ 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
Output: I would like to make the cosmetic clear so it would show the series.
for example:
i believe winforms (im assuming this is winforms?) has limited transparency support but there are transparency keys you can use
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.if it is winforms then what might work is something like CosmeticPicturebox.parent = BackgroundPicturebox;
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
😭 lol
sorry
What even is that control
Use "transFarentbackground"
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.