Expanded from https://github.com/zauni/pngmin - Grunt plugin to compress png images with pngquant and jpg images with jpegtran. Also build resizes for jpg and png.