jaw0807
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/TIFFWarning s/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.
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/TIFFWarning
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
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.
ASKER