added image geometry check