Fix gcc warnings.
Create 1 px/color test image.
Added test against file.
Honor width option.