Nowadays I just use these programs.
JPEG & PNG Stripper - removes metadata, exif data and other "junk data" for pngs & jpegs (preferred)
Jstrip removes metadata, exif data and other "junk data" for jpegs only (preferred)
Batchpurifier
BatchPurifierâ„¢ is the ideal tool to remove hidden data & metadata from multiple files.
Hidden data stored in many popular file types may contain confidential and private information that when exposed can cause you and your organization embarrassment with possible financial and legal implications.
Powered by Digital Confidence DataDistiller™ Engine, BatchPurifier™ is able to remove more than 60 types of hidden data from 25 file types, including Microsoft Office® documents (Word, Excel, PowerPoint)*, OpenOffice™ documents, PDF documents, and popular image and media file types such as JPEG, JPEG 2000, PNG, SVG, AVI, WAV, AIFF, MP3, MP4, and F4V. BatchPurifier™ can remove hidden data from files even if they are compressed within ZIP files.
Purchase BatchPurifierâ„¢ today and free yourself and your organization from the worry of unintentional sensitive data leakage through the hidden data stored in many popular file types.
FileOptimizer - supports compression/data reduction for multiple file types. See the list
here. Includes over 50 "plugins", third party scripts like some of the ones mentioned by denilsonsa in one program.
Jpegmini - Lossles batch compression for jpegs only - not free. (preferred)