SFML community forums

Help => Graphics => Topic started by: quentinlhours on November 13, 2015, 11:41:37 am

Title: [SOLVED] SFML server use
Post by: quentinlhours on November 13, 2015, 11:41:37 am
Hi guys,

I've been using SFML to do some image manipulation with the graphics module, my program's just taking an image, is processing it and saving it, no display at all.
My problem is that SFML seems to need X11, even if I don't display anything.
Is there a way to use it without any window manager or should I just switch to another library ?
Title: Re: SFML server use
Post by: Laurent on November 13, 2015, 11:44:48 am
You should definitely switch to another library for pure offline image processing. SFML is not made for that.
Title: Re: SFML server use
Post by: quentinlhours on November 13, 2015, 11:47:27 am
All right, thanks a lot !
Title: Re: SFML server use
Post by: eXpl0it3r on November 13, 2015, 11:48:24 am
ImageMagick just came to mind. Not only can you do more, but it's also optimized for image processing. ;)
Title: Re: [SOLVED] SFML server use
Post by: quentinlhours on November 13, 2015, 11:55:44 am
Yep I just switched to Magick++ but it seems like 3 to 4 times slower than SFML for pixel per pixel operations even with their low access methods like pixelpacket, that's kind of weird