How a Digital Camera Works