Differences: 1. The jpg format is a compressed format and stores less detailed color information; while RAW is a lossless format with a wider adjustment space, and there will be no data loss in the adjusted image. 2. The jpg format has limited adjustment range in the later stage, while RAW retains richer levels and details and can be adjusted in depth.
jpg format
JPEG (Joint Photographic Experts Group) is the product of the JPEG standard, which is standardized by the international Developed by ISO, it is a compression standard for continuous tone still images. JPEG format is the most commonly used image file format, with the suffix .jpg or .jpeg.
JPEG compression technology is very advanced. It can use lossy compression to remove redundant image data. In other words, it can use less disk space to get better image quality. Moreover, JPEG is a very flexible format that has the function of adjusting image quality. It allows files to be compressed with different compression ratios and supports multiple compression levels. The compression ratio is usually between 10;1 and 40;1. The higher the compression ratio, the higher the compression ratio. The larger the compression ratio, the lower the image quality; conversely, the smaller the compression ratio, the higher the image quality. For the same image, files stored in JPEG format are 1/10~1/20 of other types of files, usually only a few tens of KB, and the quality loss is small and basically invisible. The JPEG format mainly compresses high-frequency information, retains color information well, and is suitable for use on the Internet; it can reduce the transmission time of images and supports 24-bit true color; it is also commonly used in images that require continuous tone.
RAW (Image File)
A raw image file contains data processed from the image sensor of a digital camera, scanner, or film scanner. They are so named because they have not yet been processed, printed, or used for editing.
Typically, the original image has a wide gamut of internal colors that can be precisely adjusted and can be stored with some simple modifications before conversion, such as TIFF or JPEG file formats. Convenient for printing or further processing. These encodings often rely on the color image of the device.
These images are often described as "RAW image files", although this does not actually refer to a single raw file format. There are actually dozens of different models of digital devices using this format (commonly found in digital cameras or film scanners).
Raw image files, sometimes called digital negatives because they serve the same role as film negatives, are not used directly as images, but instead create an image that contains all the information.
Similarly, the process of converting a raw image file into a viewable format is sometimes referred to as rendering a raw image, equivalent to the metaphor used in the development of film to convert light-sensitive film into a viewable image. Image rendering is part of the white balancing and color grading process.
The difference between jpg and raw
1. Difference in information amount: jpg (JPEG) format is a compressed format and stores less detailed color information. RAW is a lossless format, with a wider adjustment space, and there will be no data loss in the adjusted image.
2. Difference in modifiability: Due to the difference in the amount of information, the jpg format has limited adjustment range in the later stage, while RAW retains richer levels and details and can be adjusted in depth.
3. Differences in opening methods: jpg format is compatible with many devices and programs and is relatively universal; RAW format needs to be opened with a corresponding camera or professional application.
If you want to read more related articles, please visit PHP Chinese website! !
The above is the detailed content of What is the difference between jpg and raw?. For more information, please follow other related articles on the PHP Chinese website!