1. A portable media device comprising: a handheld media device housing having integrated therein a digital camera image sensor, a camera lens to form on the image sensor an optical image of a scene that is before the lens, the image sensor to capture an image of the scene, a distance/proximity sensor to detect a distance measure, being a measure of distance between the housing and an object in the scene, a processor coupled to the image sensor and the proximity sensor, and a memory coupled to the processor, wherein the memory stores instructions that when executed by the processor a) enable application of a point spread function, PSF, when the distance/proximity sensor indicates the object is near, b) disable the PSF when the distance/proximity sensor indicates the object is far, and c) apply the PSF to de-blur the captured image if the PSF is enabled.