Converting TIF image twice produces different image files
Posted: 2006-12-16T14:38:29-07:00
Below is a script that takes an input TIFF image and does a "no-op" conversion to TIFF. It then takes the output image and performs the same conversion. It does this 10 times. Each output image file is slightly different, having a different signature, different number of colors, different IPTC profile, etc.
Is this caused by some inherent property of TIFF or am I overlooking something?
If it makes a difference I can supply the input image. I'm running my tests with
Version: ImageMagick 6.3.1 12/11/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
on OS X 10.4.8
Is this caused by some inherent property of TIFF or am I overlooking something?
Code: Select all
#! /bin/bash
COUNTER=0
INPUT=input
while [ $COUNTER -lt 10 ]
do
convert ${INPUT}.tif output${COUNTER}.tif
md5 output${COUNTER}.tif
INPUT=output${COUNTER}
COUNTER=`expr $COUNTER + 1`
done
Version: ImageMagick 6.3.1 12/11/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
on OS X 10.4.8