 As the pinhole is made smaller, the image gets sharper, but the projected image becomes dimmer.With too small a pinhole, however, the sharpness worsens, due to diffraction.In practice, camera obscuras use a lens rather than a pinhole (as in a pinhole camera) because it allows a larger aperture, giving a usable brightness while maintaining focus.