SFML community forums

Help => Graphics => Topic started by: Voroz on March 19, 2010, 08:46:40 pm

Title: How to load vector art?
Post by: Voroz on March 19, 2010, 08:46:40 pm
Hi, is it possible to load vector art files? And if so, how?. The normal way:

Code: [Select]
if (!Image[4].LoadFromFile("Tree.eps"))
    return 0;
sf::Sprite tree;
tree.SetImage(Image[4]);


does not work, says eps is not a known file type.
Title: How to load vector art?
Post by: Laurent on March 19, 2010, 08:58:09 pm
Vector images are not supported in SFML.
Title: How to load vector art?
Post by: Voroz on March 19, 2010, 11:13:26 pm
ok thanks.