SFML community forums

Help => Graphics => Topic started by: Fantasy on June 16, 2011, 11:35:10 am

Title: [Solved] transparency problem
Post by: Fantasy 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

(http://img825.imageshack.us/img825/7191/dddddwn.jpg)
the magenta color suppose to be transcendent but its not, here is the original image
(http://img709.imageshack.us/img709/2512/test1vo.jpg)

[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
Title: [Solved] transparency problem
Post by: Laurent on June 16, 2011, 11:37:12 am
http://www.sfml-dev.org/documentation/1.6/classsf_1_1Image.php#ae9a15fe9a4750295845b5ae081c2ec50
Title: [Solved] transparency problem
Post by: Fantasy 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
Title: [Solved] transparency problem
Post by: Laurent 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 ;)