Page 1 of 1

Out put File size differing from IM version to version

Posted: 2015-05-04T23:33:02-07:00
by sireeshala
Hi ,

previously i am working on 6.8.7-9 .Using the following command to convert a file

Code: Select all

convert.exe test.tif -density 300x300 -quality 50 -compress Group4 -resize  2541x3300! test_out.tif 
for a sample i got the file size as 63KB

with the same file and same command with the IM version 6.9.0-0 giving the file size as 56KB .its still decreased with 6.9.1-2 version .

Can i know the reason exactly why we got different file sizes ?
Is there any cmd parametre to remove that differences ?

Re: Out put File size differing from IM version to version

Posted: 2015-05-05T06:30:51-07:00
by glennrp
Run "identify -verbose" on each of the output files. That might give you an idea of where the differences are.

Re: Out put File size differing from IM version to version

Posted: 2015-05-05T09:38:54-07:00
by fmw42
I wonder if -quality 50 is the correct value/meaning of quality for tiff Group4. Different formats use different ways of using -quality. See http://www.imagemagick.org/script/comma ... hp#quality which does not even list TIFF. Though using the same value should give the same output, unless there has been some changes since 6.8.7.9.

Also are you using the same version of libtiff in both versions of IM?

Re: Out put File size differing from IM version to version

Posted: 2015-05-06T22:02:09-07:00
by sireeshala
How can i Know the libtiff version ?
If i did not use the -quality 50 in my conversion still the issue exists. I am able to see the size diferences

Re: Out put File size differing from IM version to version

Posted: 2015-05-07T09:42:32-07:00
by fmw42
convert -list format

will show you the version of most delegate libraries for the given image format


alternately type this at the terminal window

tiffinfo