JPEG(Joint Photographic Experts Group) files are a lossy format (in most cases). The DOS filename extension is JPG, although other operating systems may use JPEG. Nearly all digital cameras have the option to save images in JPEG format. The JPEG format supports 8 bits per color - red, green, and blue, for 24-bit total - and produces relatively small file sizes. The compression when not too severe does not detract noticeably from the image. But JPEG files can suffer generational degradation when repeatedly edited and saved. Photographic images may be better stored in a lossless non-JPEG format if they will be re-edited in future, or if the presence of small "artifacts" (blemishes), due to the nature of the JPEG compression algorithm, is unacceptable. JPEG is also used as the image compression algorithm in many Adobe PDF file.