Change 1x1 gif checking to use -hasSuffix: