1. A method of controlling a flash output for capturing an image in a portable electronic device having a digital camera, the method comprising: receiving ambient light at an image sensor; determining, utilizing a processing system, colour and luminance characteristics of the ambient light received at the image sensor; providing the flash output by conditioning light from a light emitting diode utilizing a micro-liquid crystal display to adjust the colour of the flash output based on the colour of the ambient light and to adjust luminance in localized areas by attenuating light permitted to pass through localized areas of the micro-liquid crystal display for increasing the uniformity of brightness using the flash output; and capturing the image at a digital image processor of the portable electronic device.