Added size parameter to ImageFileGenerator
Added parameter to dump settings to file
Added some more test cases