Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
How to get rid of the white border on images
Print
Pages: [
1
]
Author
Topic: How to get rid of the white border on images (Read 1343 times)
0 Members and 1 Guest are viewing this topic.
Optimus
Newbie
Posts: 1
How to get rid of the white border on images
«
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.
Logged
G.
Hero Member
Posts: 1593
Re: How to get rid of the white border on images
«
Reply #1 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.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11032
Re: How to get rid of the white border on images
«
Reply #2 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.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
How to get rid of the white border on images
anything