get camera resolution