Added support for custom scaling (float), custom scaling by width, processing a directory or individual files.