Articles

Image File Formats Used in Photographs

  • Usage
  • knowledge

There are several types of image files. We think you are selecting the file format that suits your purpose from among the image file types and using it.

This chapter provides an overview of the image files that are often used when editing photos.

 

JPEG

“.JPEG” or “.JPG” is an image data compression method commonly used in digital cameras, smartphones, and other devices. JPEG is an abbreviation of the name “Joint Photographic Experts Group” of the organization that established the compression standard and is used as the extension name.

High compression ratio and light data can be used to handle full-color (approximately 16770000 colors) images, making it often used as image data for digital cameras and websites.

However, because lossy compression causes JPEG to truncate some of the data during compression, it cannot be undone once it is compressed. JPEG compression separates the images with a square of 8*8 pixels and replaces the blocks with similar colors. Because data is skipped at that time, if it is compressed too much, the color is uniformized in blocks and the image becomes mosaic-like. However, since the mosaic is hardly noticeable when the compression ratio is increased, it is also used as a storage format for high-definition photography, such as digital cameras.

You need to be aware of this when editing JPEG images with photo retouching software, etc. If JPEG images are overwritten and saved repeatedly, they will be compressed again, and the image quality will be degraded each time. Therefore, this format is not suitable for image editing.

The image below is saved several times by photo retouch software.

Original

Original

An image saved several times by photo retouch software

An image saved several times by photo retouch software

Due to poor image quality, the edges of the logo are blurred, resulting in mosaic-like noise. If you want to perform image editing with as little image degradation as possible, we recommend the “TIFF” and “RAW” files described below.

Summary


  • Compression can reduce file size (but lossy compression).
  • Versatile and commonly used in digital cameras, websites, etc.
  • Overwriting will cause recompression and degrade image quality.

 

TIFF

“.TIFF” or “.TIF” is a highly versatile file format that can be viewed and edited by many operating systems and applications. It is often used for high-definition print data because it can be stored even in uncompressed format. The amount of data per pixel can also be selected to suit your purpose such as 8-bit or 16-bit. However, the file size increases.

TIFF is an abbreviation of “Tagged Image File Format” in which “tags” describing image information are recorded on a part of the image data. Any application that opens a TIFF file will use and display that information, resulting in excellent image reproduction.

However, it is a file format that cannot be displayed on websites or social networking sites, so you must convert it to a JPEG when using it on the Internet. In addition to being uncompressed when saving, TIFF allows you to choose any compression method, such as LZW, ZIP, or JPEG.

The example of saving options in a photo retouching software

The example of saving options in a photo retouching software

Note that while “LZW” and “ZIP” are lossless compressed (data will not be degraded when saved), “JPEG” will degrade the image quality when saved. (In general, no compression is often used.)

Since TIFF files do not degrade the image quality even if they are overwritten, they are often used as original data for image editing. However, there are very few digital cameras that can be recorded in TIFF file format, so you need to convert the RAW file introduced below to TIFF.

Summary


  • High definition image data due to uncompressed or lossless compression
  • The file size is larger than JPEG.
  • The amount of data to be saved, such as 8 bits or 16 bits, can be selected.
  • It is mainly used as print data.
  • It cannot be displayed on the Internet.

 

RAW files

RAW files are file formats that can be recorded by digital single-lens reflex cameras or some compact digital cameras.

Unlike the two general-purpose formats described above, these formats are dedicated to different digital camera manufacturers and models. As a result, the file name extensions vary depending on the camera manufacturer, and cannot be displayed as an image in the OS standard application or image editing software that does not support RAW files. To display a RAW file as an image, a “RAW development software” supported the RAW file is required.

The RAW file extensions of typical camera manufacturers are as follows.

  • Canon: CR2, CR3, CRW
  • FUJIFILM: RAF
  • Leica: RWL, DNG
  • Nikon: NEF, NRW
  • OLYMPUS: ORF
  • Panasonic: RW2
  • PENTAX: PEF, DNG
  • SIGMA: X3F
  • SONY: ARW, SR2, SRF

If you select JPEG + RAW or RAW recording in the camera settings, you can save the RAW file when shooting.

RAW recording

RAW file has the extension “.NEF.”

 

Open RAW files


To open RAW files, you must use RAW development software that supported your camera. For RAW development software, there are products dedicated to the manufacturer supplied with the camera and general-purpose RAW development software supported various camera manufacturers and models.

In this example, the RAW file was opened in the general-purpose RAW development software SILKYPIX series.

Open RAW files

Multiple RAW files can be displayed and edited by using the general-purpose RAW development software even if you are using cameras from multiple manufacturers. See here for detail of the SILKYPIX series.

 

What is the role of RAW development software?


The RAW development software is able to convert RAW files into general-purpose data such as JPEG and TIFF. You can adjust the Exposure, color, tilt, cropping, noise, sharpening, and other details of the photograph, as well as correct lens distortion.

edit a RAW file

RAW file has a wealth of 12 to 16 bits of information, so RAW development software can make maximum use of this information to adjust images with minimal image quality degradation. After you have finished adjusting the RAW file, you can export it to a JPEG or TIFF. See here for the detail of the image processing of RAW development software.

export it to a JPEG or TIFF

Summary


  • Proprietary formats for each camera manufacturer and model
  • You should be converted to JPEG/TIFF to be used as a photo.
  • 12 to 16-bit uncompressed or lossless compression data
  • You can edit RAW files by RAW development software.
  • The file size is larger than JPEG.

 


File size Versatility Compress Editing Internet Print
JPEG small high lossy compression deteriorate OK OK
TIFF large high uncompression / lossless compression data little degradation Need to convert to JPEG OK
RAW large low (*1) uncompression / lossless compression data little degradation Need to convert to JPEG OK

*1 Dedicated RAW development software is required.

Since editing images in JPEG will degrade the image quality, it is recommended that RAW files be processed when editing images. If you have cameras such as digital single-lens reflex cameras or some compact digital cameras, please try them out. See here for detail about quality degradation when editing JPEG images.

 


 

Useful Information