capture and save 640*640 square picture