Sand dunes seen from afar seem smooth and unwrinkled, like silk sheets spread across the desert. But a closer inspection reveals much more. As you approach the dunes, you may notice ripples in the sand. Touch the surface and you would find individual grains. The same is true for digital images: zoom far enough into an apparently perfect portrait and you will discover the distinct pixels that make the picture.