ImageMagick is a collection of tools and libraries to read, write, and manipulate an image in any of the more popular image formats including GIF, JPEG, PNG, PDF, and Photo CD.

NetPBM is a toolkit for conversion of images between a variety of different formats, as well as to allow a few basic image operations.

jhead is a command line tool that can manipulate EXIF information headers in jpeg files and more.