Add option image_size.
Also add some specs.
Finally, update README to reflect code changes.