ImageMagick is a command line tool for creating, editing, and analyzing images, and converting between image file types (including animations). (Link)
Pricing
ImageMagick is free and open source.