Dictionary

What Is The Preview Image Height?

Preview Image Height is the height in pixels of a preview copy stored inside a photo file. It does not describe the size of the photo itself.

preview-image-height

Preview Image Height is the height of a preview image that is stored inside a file. The preview is a copy of the main picture, and its height is counted in pixels.

Preview Image Height says nothing about the size of the photo itself. The height of the full picture is usually in Image Height instead. Preview Image Height usually appears next to a matching Preview Image Width.

Which files carry it

Many digital cameras save a preview inside the photo file. Some cameras add a large preview to their JPG photos, and many Sony cameras add one in HD size.

Canon cameras can store the width and the height of a preview as 2 separate values. The values sit in the maker notes, a part of the Exif data where each camera maker records its own information.

Some phones record the same 2 values. Photos from some HTC, LG and Samsung phones carry them in a separate part of the JPG file called the Scalado segment.

Other makers record the same information in a different way. Sony and Pentax cameras can store both numbers together in one value called Preview Image Size.

What the value looks like

Preview Image Height is a plain whole number without a unit. It counts the rows of pixels in the preview, from the top edge to the bottom edge.

Canon cameras store the height in a small group of 5 related values:

  • Preview Quality, the quality setting of the preview, such as Normal, Fine, or RAW
  • Preview Image Length, the size of the preview data in bytes
  • Preview Image Width, the number of pixels from the left edge to the right edge
  • Preview Image Height, the number of pixels from the top edge to the bottom edge
  • Preview Image Start, the position in the file where the preview data begins

Some metadata programs join the width and the height into one line. ExifTool, for example, calculates a Preview Image Size value from Preview Image Width and Preview Image Height.

Where the value comes from

The camera creates the preview when it saves the photo, and it records the size of the preview at the same time. You do not enter the value by hand.

In a JPG photo, the Exif standard limits the Exif data to 64 kilobytes. That space also has to hold the small thumbnail image, so a large preview does not fit there.

Some cameras place a large preview after the end of the main image instead. Values in the maker notes, such as Preview Image Start and Preview Image Length, then tell programs where to find the preview.

One file can hold several embedded images, such as a thumbnail and a preview. Preview Image Height belongs to the preview only, so it does not give you the size of the other images.

Why it matters

Preview Image Height helps you read a metadata report correctly. A photo can list more than one height, and Image Height usually describes the full picture. In some raw files, such as CR2, the value called Image Height can describe the preview instead.

The preview also takes up space in the file. Removing a large preview from the end of a JPG file can make the file much smaller.

The preview is a copy of your picture, and some metadata programs, such as ExifTool, can save it as a separate image file. Before you share an edited photo, you can check which picture the preview shows.