Issue #700696 by claudiu.cristea, willvincent, swentel, pyrollo, StepanKuzmin: Add 'flush' back into image module.