The design of photographic lenses for use in still or cine cameras is intended to produce a lens that yields the most acceptable rendition of the subject being photographed within a range of constraints that include cost, weight and materials. For many other optical devices such as telescopes, microscopes and theodolite where the visual image is observed but often not recorded the design can often be significantly simpler than is the case in a camera where every image is captured on film or image sensor and can be subject to detailed scrutiny at a later stage. Photographic lenses also include those used in enlargers and projectors.
From the perspective of the photographer, the ability of a lens to capture sufficient light so that the camera can operate over a wide range of lighting conditions is important. Designing a lens that reproduces colour accurately is also important as is the production of an evenly lit and sharp image over the whole of the film or sensor plane.
For the lens designer, achieving these objectives will also involve ensuring that internal flare, optical aberrations and weight are all reduced to the minimum whilst zoom, focus and aperture functions all operate smoothly and predictably.
However, because photographic films and electronic sensors have a finite and measurable resolution, photographic lenses are not always designed for maximum possible resolution since the recording medium would not be able to record the level of detail that the lens could resolve. For this, and many other reasons, camera lenses are unsuited for use as projector or enlarger lenses.
The design of a fixed focal length lens (also known as prime lenses) presents fewer challenges than the design of a zoom lens. A high-quality prime lens whose focal length is about equal to the diameter of the film frame or sensor may be constructed from as few as four separate lens elements, often as pairs on either side of the aperture diaphragm. Good examples include the Zeiss Tessar or the Leitz Elmar.