PDA

View Full Version : Trying to comare .tif files


shoyer
27-Jan-2006, 02:55 PM
I am trying to compare a series of .tif images. I would like to do a couple things, but don't know if they are possible.
1: Compare the number of pages within two tif files and tell me if there are the same number of pages.
2: Compare two tif files and tell me if one is larger than the other. The two will always be a different size, but one directories should always be at least slightly larger. If they aren't then there may have been a problem in the conversion.

tia,
Steve.

chrroe
30-Jan-2006, 11:19 AM
Hi Steve!

Take a look at http://gnuwin32.sourceforge.net/packages/tiff.htm

Maybe this helps you further ...


Bye
Christoph

chrroe
30-Jan-2006, 11:57 AM
I found another possibility:

Install Irfanview from http://www.irfanview.com
Use this programm in batch mode like

Examples for /info:
i_view32.exe c:\test.tif /info=c:\test.txt
i_view32.exe c:\*.jpg /info=c:\jpgs.txt

The output is as follows:
[test.tif]
File name = test.tif
Directory = C:\
Compression = LZW
Resolution = 0 x 0 DPI
Image dimensions = 686 x 384 Pixels
Print size = 24.2 x 13.5 cm; 9.5 x 5.3 inches
Color depth = 16,7 Millions (24 BitsPerPixel)
Number of unique colors = 149
Disk size = 44.61 KB (45.676 Bytes)
Current memory size = 772.54 KB (791.080 Bytes)
File date/time = 30.01.2006 / 19:49:54


Is that, what you are looking for?


Bye
Christoph

shoyer
30-Jan-2006, 12:58 PM
What I need is simply to compare two tif images and tell me if they have the same number of pages. I downloaded the PixViewer for BC and thought I was golden until I tried the comparison with known unmatched files:
File1 = 18 pages
File2 = 1 page (the first page of File1)
and the PixViewer compared them and they came out equal. It evidently doesn't support the multipage aspect of tif's.

Thanks,
Steve.

LynnP
30-Jan-2006, 02:07 PM
We don't currently support multiple page .tif files. I'm assuming that you are trying to compare the .tifs associated with faxing or something like that. Could you elaborate more on what you are trying to do and send us a sample of your multiple page tif file? Send it to support@scootersoftware.com. And I can get it added to our wishlist for a future version of our Picture Viewer plug-in.

shoyer
31-Jan-2006, 09:40 AM
I have sent an email off to support, including a sample set of tifs as requested. Thanks for your help.