Click here to Skip to main content
16,006,707 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Help Me Pin
Christian Graus11-Apr-07 2:05
protectorChristian Graus11-Apr-07 2:05 
AnswerRe: Help Me Pin
Dave Kreskowiak11-Apr-07 5:05
mveDave Kreskowiak11-Apr-07 5:05 
QuestionHow can I play an embeded resource wav file? Pin
JUNEYT11-Apr-07 0:19
JUNEYT11-Apr-07 0:19 
AnswerRe: How can I play an embeded resource wav file? Pin
Dave Kreskowiak11-Apr-07 5:04
mveDave Kreskowiak11-Apr-07 5:04 
Generalvb.net Pin
rajigopalan10-Apr-07 23:08
rajigopalan10-Apr-07 23:08 
GeneralRe: vb.net Pin
Christian Graus10-Apr-07 23:10
protectorChristian Graus10-Apr-07 23:10 
GeneralRe: vb.net Pin
amaneet11-Apr-07 0:12
amaneet11-Apr-07 0:12 
QuestionComparing images using the GetPixel Method (2) Pin
Zaegra10-Apr-07 23:01
Zaegra10-Apr-07 23:01 
Hello,
I have 2 images, both loaded into pictureboxes. Now, i want to compare them using the GetPixel method (i know i al typed this before Big Grin | :-D )
I tried the following: (the images have the same size)
but it does not work

Dim btm1 as new bitmap(picturebox1.image)
Dim btm2 as new bitmap(picturebox2.image)
dim i as integer
dim j as integer

for i = 1 to btm1.width
for j = 1 to btm1.height
Dim pixg1 as color
Dim pixg2 as color
pixg1 = btm1.getpixel(i,j)
pixg2 = btm2.getpixel(i,j)
If NOT pixg1 = pixg2 Then
...
End If
next j
next i

Can someone please give me the code to compare 2 images loaded into picturebox by going over each pixel using the GetPixel method it is kind of urgent Big Grin | :-D

Thanks in advance,

--Zaegra--
AnswerRe: Comparing images using the GetPixel Method (2) Pin
Christian Graus10-Apr-07 23:09
protectorChristian Graus10-Apr-07 23:09 
GeneralRe: Comparing images using the GetPixel Method (2) Pin
Zaegra11-Apr-07 1:17
Zaegra11-Apr-07 1:17 
GeneralRe: Comparing images using the GetPixel Method (2) Pin
Christian Graus11-Apr-07 2:02
protectorChristian Graus11-Apr-07 2:02 
GeneralRe: Comparing images using the GetPixel Method (2) Pin
Zaegra11-Apr-07 2:15
Zaegra11-Apr-07 2:15 
GeneralRe: Comparing images using the GetPixel Method (2) Pin
Colin Angus Mackay11-Apr-07 3:02
Colin Angus Mackay11-Apr-07 3:02 
GeneralRe: Comparing images using the GetPixel Method (2) Pin
Dave Kreskowiak11-Apr-07 5:02
mveDave Kreskowiak11-Apr-07 5:02 
GeneralRe: Comparing images using the GetPixel Method (2) Pin
Christian Graus11-Apr-07 10:53
protectorChristian Graus11-Apr-07 10:53 
QuestionSQL SERVER Pin
Socheat.Net10-Apr-07 22:43
Socheat.Net10-Apr-07 22:43 
AnswerRe: SQL SERVER Pin
Colin Angus Mackay10-Apr-07 22:49
Colin Angus Mackay10-Apr-07 22:49 
AnswerRe: SQL SERVER Pin
_mubashir10-Apr-07 22:49
_mubashir10-Apr-07 22:49 
AnswerRe: SQL SERVER Pin
Christian Graus10-Apr-07 22:52
protectorChristian Graus10-Apr-07 22:52 
QuestionHelp with reports Pin
Jats_4ru10-Apr-07 22:08
Jats_4ru10-Apr-07 22:08 
AnswerRe: Help with reports Pin
Dave Kreskowiak11-Apr-07 4:54
mveDave Kreskowiak11-Apr-07 4:54 
Questionagain stumped with arraylists Pin
srikanthdevsql10-Apr-07 21:58
srikanthdevsql10-Apr-07 21:58 
AnswerRe: again stumped with arraylists Pin
Zaegra10-Apr-07 22:04
Zaegra10-Apr-07 22:04 
GeneralRe: again stumped with arraylists Pin
srikanthdevsql10-Apr-07 22:09
srikanthdevsql10-Apr-07 22:09 
GeneralRe: again stumped with arraylists Pin
Christian Graus10-Apr-07 22:37
protectorChristian Graus10-Apr-07 22:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.