Even a large 20x16 inch print can be done with around 28 megapixels. Viewing distance also plays a crucial role. Larger prints are viewed from farther away, reducing the need for high DPI. Hence, a 24-megapixel camera can handle most printing needs effectively.