1. 3
  1.  

  2. 1

    You can also automatically strip exif data from jpegs. Saves a bit of data, and can occasionally prevent an unintentional leak of embedded geo information.

    # autorotate if desired
    jhead -autorot name.jpg
    
    # jhead can also strip exif data, but for some reason (can't even reall why)
    # I have always just used jpegtran directly
    jpegtran -copy none -optimize -perfect -outfile name.jpg name.jpg