Dim MyBitmap As New Bitmap(MyPicturebox.Image)
Dim MyColor As Color
MyColor = MyBitmap.GetPixel(X of your pixel, Y of your pixel)
Dim b As Bitmap
Dim cr, cg, cb As Integer
b.SetPixel(ix, iy, Color.FromArgb(cr, cg, cb))
image overlay
Imports System.Drawing
Dim OverlayImage As New Bitmap("Some Path", True)
Dim BackImage As New Bitmap("Some Path", True)
g As Graphics = Graphics.FromImage(BackImage)
g.DrawImage(OverlayImage, 0, 0)
pictureBox1.Image = BackImage
'Coding > VB C C++' 카테고리의 다른 글
bcpp 5.5 사용시 자주 써먹는 유틸리티 함수들 (0) | 2016.03.22 |
---|---|
use System.Numerics (0) | 2016.02.19 |
structure 변수의 내용 복사 (?) (0) | 2016.02.12 |
(펌글) vb.net 프로그램 배포본 만드는 법 (0) | 2016.02.06 |
vb.net - adding dll reference (0) | 2016.02.06 |