Resolution and Aspect Ratio

Work in progress. This note is still being written and incomplete.

visible image=f(resolution,size,aspect ratio)\text{visible image} = f(\text{resolution}, \text{size}, \text{aspect ratio})
  • Resolution
    Dots per unit length.
  • Image size
    Number of dots, or pixels, in the image.
  • Aspect ratio
    Ratio of rows to columns in the pixel grid.
  • Pixel aspect ratio
    Exact shape (Δx:Δy\Delta x : \Delta y) of a single pixel.

Physical dimensions of the image follow from these, with RR defined along the vertical axis so the vertical dot pitch is 1/R1/R and the horizontal dot pitch is ΔxΔy1R\frac{\Delta x}{\Delta y} \cdot \frac{1}{R}.

width=NcΔxΔy1R\text{width} = N_c \cdot \frac{\Delta x}{\Delta y} \cdot \frac{1}{R} height=NrR\text{height} = \frac{N_r}{R}

Here:

  • RR: resolution in dots per unit length
  • NcN_c: number of columns
  • NrN_r: number of rows
  • Δx:Δy\Delta x : \Delta y: pixel aspect ratio

For square pixels Δx=Δy\Delta x = \Delta y, so width=Nc/R\text{width} = N_c / R.

Changing Geometry

  • Changing resolution affects image granularity, potentially causing a checkerboard effect when upscaling
  • Changing pixel count affects file size
  • Changing physical pixel size or aspect ratio affects object geometry, potentially causing distortion

Stretching versus cropping to change aspect ratio

Left: Original. Centre: Stretched to a wider frame, distorting object geometry. Right: Cropped to the same frame, keeping geometry but losing content.
Generated from a photo by Hannes Röst, CC BY-SA 3.0.

Written by September 13, 2026 2 min read
Was this helpful?