Changed readme.
Simplified arguments parsing.
The extension of the output filename dictates the output format (jpg,
jpeg, and png allowed now).