Added option to suppress image file writing, to help with timing tests.