Allow the device, image scaling and flipping to be configured