JPEG files use lossy compression to reduce the file size of images, which also reduces the image quality by decreasing the number of pixels per centimeter. More pixels generally provide better quality. Raw bitmap formats like TIFF and BMP are uncompressed, so they maintain the original image quality but have larger file sizes than JPEG. The number of pixels affects the quality and file size - higher pixel images like full HD movies require more storage space than lower pixel images. JPEG lossily compresses while TIFF maintains the original quality without compression.