ti 17 aug
04:56
jesperlind:
The other answers was helpful and got me going, thanks a lot. I couldn't make them work though, not sure why. But I also found out that I wanted to keep the original alpha value of the pixels, rendering the edges smooth. This is what I came up with.
for (int x = 0; x < bitmap.Width; x++) { for (int y = 0; y < bitmap.Height; y++) { Color bitColor = bitmap.GetPixel(x, y); //Sets all the pixels to white but with the original alpha value bitmap.SetPixel(x, y, Color.FromArgb(bitColor.A, 255, 255, 255)); } }
Here is a screen dump of the result magnified a few times (original on top):
00:07
jesperlind:
Hi and sorry for late reply. I tried out the code right now and I can't make it work. All my pixels turns white and it doesn't leave the transparent pixels of the png's intact.
sö 15 aug
on 11 aug
sö 15 aug
on 11 aug
sö 15 aug
01:49
jesperlind:
"Robonaut2 surpasses previous dexterous humanoid robots in strength, yet it is safe enough to work side-by-side with humans. It is able to lift, not just hold, this 20-pound weight (about four times heavier than what other dexterous robots can handle) both near and away from its body."