2004.12.04 18:36 "[Tiff] Exit code on tiffcp", by Michele Petrazzo

2004.12.05 20:38 "Re: [Tiff] Exit code on tiffcp", by Jay Berkenbilt

I try to convert a tiff file from none compression to g3:1d with tiffcp, but the exit code is 9. I have seen the source, but I don't find what it means and where are the "exit(-9)" command.

The exact command is:

tiffcp -i -c g3:1d -f lsb2msb -r 999 a.tif b.tif

Can you help me?

I have tifflib 3.5.7

I happen to remember that 3.5.7 (which is very old now) had a bug in which tiffcp didn't return with any specific exit status, thus often causing a non-zero exit status when everything was fine. This problem is fixed in newer versions.

Jay Berkenbilt <ejb@ql.org>
http://www.ql.org/q/