Researchers have developed a compact camera that captures ultraviolet, near-infrared, and visible images using a single chip.