프로그래밍언어/VB.NET

GetPixel 로 불러온값을 Color 로 변환

부산딸랑이 2014. 3. 9. 02:47



dim i as integer = 6421504
dim c as color

c = System.Drawing.Color.FromArgb(i)
Probably the Alpha channel is missing, so you'd have to use

c = System.Drawing.Color.FromArgb(i or &Hff000000)