Tests whether all input files are jpegs.
Merge http://github.com/acgrama/apps