Skip to main content
Browse Documentation

Fit fill

Created by Richard Saunders, last updated 14 Nov 2018

When the fit=fill parameter is used in conjunction with the width and height parameters then the image will be stretched to fit the constraining dimensions exactly. The resulting image will fit within the width and height boundaries without cropping or distorting the image. The remaining space is filled with a background color specified by the background or bg parameter hex value. The resulting image will match the constraining dimensions.