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

Author Topic: [Win API] Can I use an image resource as sf::Image?  (Read 2339 times)

0 Members and 1 Guest are viewing this topic.

Dark Byte

  • Newbie
  • *
  • Posts: 30
    • View Profile
[Win API] Can I use an image resource as sf::Image?
« on: December 04, 2010, 07:27:41 am »
Is that possible?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
[Win API] Can I use an image resource as sf::Image?
« Reply #1 on: December 04, 2010, 09:22:04 am »
As long as you can extract its pixels, everything is possible (see Image::LoadFromPixels).
Laurent Gomila - SFML developer