ti 17 aug

User jesperlind - Stack Overflow 04:56 Answer by jesperlind for Convert transparent png in color to single color
friendfeed-comment 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):
User jesperlind - Stack Overflow 00:07 Comment by jesperlind on Convert transparent png in color to single color
friendfeed-comment 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

Google Reader 22:41 Incheckningskulturens vokabulär: geostaket
Google Reader 22:27 Performance tuning tricks for ASP.NET and IIS 7 – part 2

on 11 aug

Google Reader 02:23 Autonomous Quadrotor Is Watching You
Google Reader 02:22 Google Buys Microdrone, Imaginations Run Wild
friendfeed-like 18:17 ruchira liked this.

sö 15 aug

Flickr 03:46 It's like a jungle sometimes
friendfeed-like 13:07 winckel liked this.

on 11 aug

FriendFeed 03:01 Coloured X-Rays of Flowers : Turning X-Ray Into An Art by Hugh Turvey
friendfeed-like 01:22 capism, winckel, wwhitman, taoofcoffee, ashalynd, ivanfilios liked this.

sö 15 aug

FriendFeed 01:49 NASA - Robonaut2, the Next Generation Dexterous Robot
friendfeed-comment 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."
friendfeed-like 13:07 ivanfilios, winckel liked this.
Google Reader 03:04 HTML5 Templates
friendfeed-like 03:24 zjemily liked this.
FriendFeed 00:32 Dean Hume - ASP.net MVC HTML5 Toolkit

lö 14 aug

FriendFeed 05:54 HTML 5 JS Tenorion by Joshua Koo
Google Reader 02:33 iPhone “slide to unlock” Text in WebKit/CSS3

fr 13 aug

Twitter / Favorites from codeod 19:26 mymarkup: Graffiti-debatten II: http://bit.ly/d4YCFR
Twitter 15:37 Gonna have to try the new tweet-button http://t.co/rkoQnyy via @twitter
Google Reader 02:56 Intressant analys av Wikileaks-data
Google Reader 02:49 Vad innehåller CTP4 av Entity Framework?
Google Reader 02:04 Nya Tweetknappen från Twitter är här!
Google Reader 02:02 Photoshop 101: True Black (CMYK)

on 11 aug

FriendFeed 01:55 Procedural Drawing in Canvas – Advanced, Tutorials - Canvas Demos
friendfeed-like 22:23 winckel liked this.

to 12 aug

Twitter 16:11 Unboxing my new XPS 16 SSD! Shall I go for Win 7 64 bit? Visual Studio 2010 works well?
friendfeed-like 22:23 winckel liked this.
Twitter / Favorites from codeod 16:35 naldzgraphics: Inspiring Text Art http://bit.ly/bIHkaW
Twitter / Favorites from codeod 16:30 elijahmanor: "The Case for jQuery’s .delegate() Method for Dynamic Event Binding" by @reybango #tech #jquery http://bit.ly/95j3oi
Twitter / Favorites from codeod 14:04 chriscoyier: @serenedestiny Try out Mobify.me

on 11 aug

delicious 01:39 HTML5 Reset
Google Reader 01:53 Infographic and Data Interface Videos: the Latest of the Greatest
Google Reader 01:45 Senseg E-Sense
Google Reader 01:40 Entreprenörer skall blogga!
Google Reader 01:40 Digg API Version 2 Coming Soon
delicious 01:39 HTML5 Reset
<< 1 2 3>>