Link to home
Start Free TrialLog in
Avatar of jaw0807
jaw0807Flag for United States of America

asked on

Tiff Warning Message 881

I had this question after viewing Image Magick scripting.

I'm running this script to find the landscape size of tifs in a directory.

identify -format '%[fx:w/200] %i\n' ./*.tif | awk '$1 > 15 {sub(/^[^ ] * [^ ] * /, ""); print $2}'| xargs -I "{}" mv "{}" ./landscapes

I ran it on one directory of tifs - no problems.  No I've moved on to another batch and I'm getting this:

identify: ASCII value for tag "Software" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/881.

I searched the web for possible solutions but it got all complicated on me.  Someone said to /dev/null the warning message, but how, and do I really want to do that.  I wish it would tell me which image is getting the warning or is it the entire batch.

Thanks - Rose.
Avatar of jaw0807
jaw0807
Flag of United States of America image

ASKER

P.S.  It does create a file named landscapes, but not a directory.  The file it creates looks like the attached.
ASKER CERTIFIED SOLUTION
Avatar of jaw0807
jaw0807
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Joe Winograd
Hi Rose,
Sorry I didn't get to this in a timely fashion, but I'm very glad to hear that you solved the problem. And thanks very much for posting the solution — that's really helpful! Regards, Joe
Avatar of jaw0807

ASKER

Joe - I know about posting the solution.  I hate to read threads that just disappear or they say "I found the solution" but never say what it is!  Until next time.  Rose.