Mars Hand Lens Imager

MAHLI also has mechanical focusing in a range from infinite to millimetre distances.

[2] MAHLI can store either the raw images or do real-time lossless predictive or JPEG compression.

[3] NASA says, "The main purpose of Curiosity's MAHLI camera is to acquire close-up, high-resolution views of rocks and soil at the rover's Gale Crater field site.

The camera is capable of focusing on any target at distances of about 0.8 inch (2.1 centimeters) to infinity.

One of those photos was considered in 2013 by Discovery News as one of the best space robot selfies.

Curiosity's Mars Hand Lens Imager (MAHLI) on Mars - Mount Sharp is in the background (September 8, 2012).
Calibration Target of the Mars Hand Lens Imager (September 9, 2012) ( 3-D image )