Batch Lossy JPG And PNG Compression Script Using GraphicsMagick

WebUpd8 reader Bruce Ingalls has created a script for batch lossy compression of jpg and png files. The script is useful if you have a lot of images - e.g., you can run it to compress all the images used by a website, etc.