Optimizing JPG and PNG Images for a Jekyll Website

This website has been text-oriented for a long time now. The decision to add article banners and thumbnails is a recent one. I stayed away from images for a long time since handling and optimizing images can be a PITA. I was glad to find that optipng, jpegoptim, and imagemagick already exist to solve this problem for me.

My plan is as follows: