TNDKillian
Wanderer
Probelm with Hue
Hi!
I got a little probelm with the Hue class.
I tried the ApplyTo function, but it only gives me transparent images.........when i set the onlyHueGrayPixels to false i got the Tile but it has some transparent pixels and the stadrt color......can someone help me with this?
Oh, and can some one give me the source for the sdk......so i can find out myself things like these ^^
Thx....
Oh.....i forgot some code to show hoe i use it :
Hi!
I got a little probelm with the Hue class.
I tried the ApplyTo function, but it only gives me transparent images.........when i set the onlyHueGrayPixels to false i got the Tile but it has some transparent pixels and the stadrt color......can someone help me with this?
Oh, and can some one give me the source for the sdk......so i can find out myself things like these ^^
Thx....
Oh.....i forgot some code to show hoe i use it :
Code:
Hue tmp = new Hue( 5 ); // Crete Hue
Bitmap tmpBmp = Ultima.Art.GetStatic( 1433 ); // Get the static Tile Image
tmp.ApplyTo( tmpBmp, false ); // And apply it
PictureBox p = new PictureBox();
p.Image = tmp;