1. A system comprising: a processor; and a memory that comprises a plurality of components that are executed by the processor, the plurality of components comprising: a partitioner component that partitions a first image into partitions, wherein the first image is captured by an image sensor of a digital camera, the first image having a first resolution; a weight assigner component that assigns respective weights to the partitions; and a setter component that determines respective exposures times for the plurality of partitions based upon the respective weights, and sets an exposure time for capturing a second image by the image sensor of the digital camera based at least in part upon the respective exposure times, the second image having a second resolution, the second resolution being greater than the first resolution.