imgix APIs
Rendering API
Dots Per Inch

Dots Per Inch

dpi

Sets the DPI value in the Exif header of JPEG files. It does not alter the web display of the image.

The DPI value affects the print size of an image. For instance, an 1800×1200-pixel image set to 300 DPI will print at a size of 6"×4".

This parameter only works on JPEG files. To apply DPI to other file types, combine the dpi parameter with fm=jpg to convert the file to a format that supports the DPI Exif header.