SFML community forums

Help => General => Topic started by: Optimus on February 08, 2021, 04:12:35 pm

Title: How to get rid of the white border on images
Post by: Optimus on February 08, 2021, 04:12:35 pm
I wanted to put a white image in a sfml project but the image is not square which means I have this white border making it seem that there is no image at all. I am fairly new to sfml and i want to get rid of the white border.
Title: Re: How to get rid of the white border on images
Post by: G. on February 08, 2021, 08:47:52 pm
Not sure what you mean. A picture of the image and what it looks like in your project would help.
Title: Re: How to get rid of the white border on images
Post by: eXpl0it3r on February 15, 2021, 08:45:33 am
If SFML draws a border, then you must have set an outline, don't do that.
If your image has a border, then you need to edit your image to not have that border.