I am trying to use Applescript or Terminal (or terminal via applescript using the do shell script command) to automatically extract the frames from a selected .gif file. I know how to do the click and drag method using Preview.app, but is there a way to do this automatically?
Thanks! Eric
ImageMagick gives you a cmdlet that lets extract frames of an animated gif.
This will extract the first 10 frames of the file "animated.gif"
# convert 'animated.gif[0-10]' frames%03d.png
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With