Help: query to identify image files that are "animations"

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Greetings,

What would be the optimal query syntax to identify (select) an image file that actually is an animation (as in .gif and .png) versus a standard static image file. Based on the image's frame count?

... as in a query for PDF that have no "text" inside = not OCRed...

Code: Select all
   #! /bin/bash
   if ! grep Font "$1"
   then
        exit 0
   else
        exit 1
   fi


Thanking you in advance for your assistance with this.
/sp
spin
 
Posts: 1
Joined: Thu Jan 28, 2016 9:57 pm

This is a bit outside of Hazel support but maybe someone else here can help. I can't think of anything off-hand but I suggest looking at commandline programs that might help. Maybe something like imagemagick.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron