470,841 Members | 948 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,841 developers. It's quick & easy.

Compare Image Objects in PDF Files Programmatically

Hi,

I'm sorry this may not be the right place for this topic. However, I
don't know where else I should get help. Hopefully some people here can
give me an answer on the following topic:

How to compare two images in two PDF files to see if they are
identical?

When two images are of two different sizes but if they are of the same
image, the comparison should return true because they are the same
image. It's like comparing two photos of size 4x6 and 5x7, as long as
they are the same picture, the program should tell you that they are
the same.

BTW, I use C# language, and the images are either chart or windows
metafile.

Many thanks!

-Emily

Jun 19 '06 #1
2 2258
Hello Fir5tSight,

If you are not going to use some heuristic algorighms the best aprroach is
to extract pictures and compare them byte-to-byte

F> I'm sorry this may not be the right place for this topic. However, I
F> don't know where else I should get help. Hopefully some people here
F> can give me an answer on the following topic:
F>
F> How to compare two images in two PDF files to see if they are
F> identical?
F>
F> When two images are of two different sizes but if they are of the
F> same image, the comparison should return true because they are the
F> same image. It's like comparing two photos of size 4x6 and 5x7, as
F> long as they are the same picture, the program should tell you that
F> they are the same.
F>
F> BTW, I use C# language, and the images are either chart or windows
F> metafile.
F>
F> Many thanks!
F>
F> -Emily
F>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jun 19 '06 #2
Hi Michael,

If two images are identical but of different sizes, will the
byte-by-byte comparison fail?

Thanks,

-Emily

Jun 19 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Nicolas Fleury | last post: by
2 posts views Thread by Don Tucker | last post: by
8 posts views Thread by UJ | last post: by
8 posts views Thread by Turbot | last post: by
2 posts views Thread by dineshbajaj | last post: by
4 posts views Thread by Dave | last post: by
4 posts views Thread by Clay Hobbs | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.