Added a benchmark mode to Image