Patent ID: 7995911

Claim:
A method of operating a digital camera, the camera storing a plurality of color compensation algorithms, each color compensation algorithm being associated with a different type of illuminating light, each color compensation algorithm being tailored for a type of illuminating light having pre-programmed color temperature characteristics, the method comprising: determining that actual ambient light illuminating an object is a first type of ambient light; selecting at least one of a plurality of white light, light emitting diode (LED) flashes based on detecting that the ambient light is the first type of ambient light, the LED flashes being associated with different types of ambient light; energizing a selected first white light LED flash, associated with the first type of ambient light, to further illuminate the object, the first white light LED flash comprising: a first LED die that emits visible blue light; a first wavelength conversion material over the first LED die, the first wavelength conversion material being energized by the blue light and wavelength converting the blue light to emit a visible red light; and a second wavelength conversion material over the first LED die, the second wavelength conversion material being energized by the blue light and wavelength converting the blue light to emit a visible green light, wherein the combination of the blue light, red light, and green light produces a white light that substantially matches the pre-programmed color temperature characteristics of the first type of ambient light stored in the camera irrespective of the characteristics of the actual ambient light; taking a photograph by the camera of the object illuminated by the first type of ambient light and light from the first white light LED flash; selecting one of the plurality of color compensation algorithms stored in the camera associated with the first type of ambient light; and applying the selected color compensation algorithm associated with the first type of ambient light to the photograph.