Solved

Image1 much with Image2 ? (Urgent Help)

Posted on 2008-09-29
4
311 Views
Last Modified: 2010-04-30
Hi, i have been searching for long time and i didnt find anything that can help me to do this, what i want to do is to find a way to check if the image1 much with the image2. Any suggestions,tips or even solution to my question will be very appriciated. If you didnt understand something please feel free to ask me.
0
Comment
Question by:KingSencat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Expert Comment

by:TechTiger007
ID: 22599390
I understand that you want to compare two images when you say image1 much with the image2 (a match). If that is what you are looking for then I dont think you have any inbuilt support in VB to do this. You can look for some third party image processing tools. But if you are checking if two files are exactly same then probably you can open the files and compare bytes.
0
 
LVL 10

Accepted Solution

by:
c0ldfyr3 earned 500 total points
ID: 22601645
0
 
LVL 10

Expert Comment

by:c0ldfyr3
ID: 22601649
0
 

Expert Comment

by:Hipposaver
ID: 22604023
something like

dim bPic as byte
dim bPic1 as byte
Open Picture1FilePath For Binary As #1
Open Picture2FilePath for Binary as #2
if lof(1) = lof(2) then
for x = 1 to lof(1)
get 1,x,bPic
get 2,x,bPic1
if bPic <> bPic1 then
msgbox "not the same"
exit for
end if
next
else
msgbox "not the same"
end if

Open in new window

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question