Solved

Image1 much with Image2 ? (Urgent Help)

Posted on 2008-09-29
4
306 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
  • 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 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