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

Author Topic: [Solved] transparency problem  (Read 1462 times)

0 Members and 1 Guest are viewing this topic.

Fantasy

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
[Solved] transparency problem
« on: June 16, 2011, 11:35:10 am »
ok so after i used  
Code: [Select]
Image.CreateMaskFromColor(Color(255,0,255)); function its not working as i hoped, here is how it looks


the magenta color suppose to be transcendent but its not, here is the original image


[Solved]
ok if i use JPG image it doesnt work but if i use png image it works weird, so anyways its not AMD Driver fault xD

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Laurent Gomila - SFML developer

Fantasy

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
[Solved] transparency problem
« Reply #2 on: June 16, 2011, 11:40:13 am »
Quote from: "Laurent"
http://www.sfml-dev.org/documentation/1.6/classsf_1_1Image.php#ae9a15fe9a4750295845b5ae081c2ec50

thank i should visit the documentation more often LOL
thankx for the help

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
[Solved] transparency problem
« Reply #3 on: June 16, 2011, 11:47:17 am »
Quote
thank i should visit the documentation more often LOL

"more often" is good, but "before posting" is even better ;)
Laurent Gomila - SFML developer