Hi.
I'm trying to draw an image on the screen, but the one I draw looks much worse than the original.
On the left the real image, on the right it's as sfml draws it:
I tried bmp, png and jpg formats, as well as different sizes - always the same.
What to do if I want to draw the image exactly as it's in the file?
Here is my code for the image:
RenderWindow window;
window.Create(VideoMode(640,480,32),"SFML Window");
Image img;
img.LoadFromFile("kon.PNG");
Sprite sprite;
sprite.SetImage(img);
sprite.SetPosition(100.f,100.f);
...
window.Clear(Color(0xff,0xff,0xff));
window.Draw(sprite);
window.Display();