Added -jpg / -jpeg option