
JPG typically achieves 10:1 compression with little perceptible loss in image quality. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and image quality. JPG is a commonly used method of lossy compression for digital images, particularly those produced by digital photography. RAW image formats are intended to capture as closely as possible the scene's characteristics to include light intensity and colors. RAW files are named so because they are not yet processed and ready to be printed or edited with a bitmap graphics editor. RAW file formats contain minimally processed data from the digital camera's image sensor - the metadata includes information about the lens, the settings, the camera's identification, and other data.

NEF, otherwise known as the Nikon Electronic Format, is Nikon's RAW file format.
