I have a lot of Tiff files for compare generation and validation. I need to check all the texts and fields in the Tiff copy. May I use Imagemagick tool for my purpose(compare).Will it fulfill my requirement? If yes, then please suggest the version of the tool.
Thanks in advance.
Need to Compare two TIFF files
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Need to Compare two TIFF files
You might provide some examples of what you are trying to do.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Need to Compare two TIFF files
I do not believe that IM will do that directly.
The compare function just check pixel data.
You could use identify -verbose image.tiff on each file to get a listing of all the meta data and extract what fields you want. Then compare them with other tools that would verify that those fields are the same. You can write a script to do all that.
You might look into EXIFTOOL. Perhaps it has some way to compare two image's text data and other meta data.
As user snibgo mentioned, you might provide some examples, so we can see exactly what you want. My comments above may not be relevant if we understand your question better.
Also see http://www.imagemagick.org/script/escape.php
You can extract just the EXIF data with
convert image.tiff -format "%[EXIF:*]" info:
The compare function just check pixel data.
You could use identify -verbose image.tiff on each file to get a listing of all the meta data and extract what fields you want. Then compare them with other tools that would verify that those fields are the same. You can write a script to do all that.
You might look into EXIFTOOL. Perhaps it has some way to compare two image's text data and other meta data.
As user snibgo mentioned, you might provide some examples, so we can see exactly what you want. My comments above may not be relevant if we understand your question better.
Also see http://www.imagemagick.org/script/escape.php
You can extract just the EXIF data with
convert image.tiff -format "%[EXIF:*]" info: