In this article, we will use jpegoptim and optipng tools to compress and optimize jpeg, jpg and png images in batch or bulk process from the Linux commandline.