It is important to consider the quality of the lens as well as the number of pixels. 3 or 4 megapixels are plenty for a high-quality picture enlarged to half a metre across, but if the lens is not good no number of pixels will stop even small prints being blurry. Test before buying if possible, holding the camera against a solid object so it is perfectly still.