Added windows image check method.