Skip to main content

FreeToolCalculateAspectRatioRequest

widthinteger

Width in pixels.

Possible values: >= 1 and <= 20000

heightinteger

Height in pixels.

Possible values: >= 1 and <= 20000

ratiostring

Ratio as width:height, e.g. 16:9 or 1.91:1. Give it with width or height to get the other side.

Possible values: <= 21 characters, Value must match regular expression ^(\d{1,5}(?:\.\d{1,4})?):(\d{1,5}(?:\.\d{1,4})?)$

FreeToolCalculateAspectRatioRequest
{
"width": 0,
"height": 0,
"ratio": "string"
}