Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [SOLVED] SFML server use  (Read 1040 times)

0 Members and 1 Guest are viewing this topic.

quentinlhours

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
[SOLVED] SFML server use
« 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 ?
« Last Edit: November 13, 2015, 11:47:58 am by quentinlhours »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: SFML server use
« Reply #1 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.
Laurent Gomila - SFML developer

quentinlhours

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: SFML server use
« Reply #2 on: November 13, 2015, 11:47:27 am »
All right, thanks a lot !

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10823
    • View Profile
    • development blog
    • Email
Re: SFML server use
« Reply #3 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. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

quentinlhours

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: [SOLVED] SFML server use
« Reply #4 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

 

anything