SFML community forums

Help => Graphics => Topic started by: David on May 26, 2011, 02:54:33 am

Title: Random white border around image
Post by: David on May 26, 2011, 02:54:33 am
Hey SFML

When I upload and test an image (PNG) that has transparency, there seems to be a white border around the person.

What is going on?
Title: Random white border around image
Post by: Laurent on May 26, 2011, 08:06:20 am
That's probably the smooth filter. image.SetSmooth(false) should fix it.
Title: Random white border around image
Post by: David on May 26, 2011, 01:29:39 pm
Quote from: "Laurent"
That's probably the smooth filter. image.SetSmooth(false) should fix it.


That explains why my 16 bit sprites are a little fuzzy :!:  I hate it when powerpoint makes it look all smooth using it's vector resizing thing.