SFML community forums
Help => Graphics => Topic started by: Dark Byte on October 09, 2010, 08:37:36 pm
-
Does it read RGBA from PNG files or just RGB?
-
Alpha is read and properly utilized.
On a related note, not all images can be read even if the format is supported. So if you try to load a PNG (or any image) and get an error, try saving it with another program. I personally use Paint.NET since it has never given me any issues but still provides good PNG compression.
This error is a pretty rare occurrence, but can be tough to find if you don't know about it, so figured it is worth mentioning. :)
-
Thanks