Solved

Image1 much with Image2 ? (Urgent Help)

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now