Image crop and contain fit
bpj_image_frame_fitEstimate cover cropping, contain letterboxing and a CSS aspect ratio from supplied dimensions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"width": "<width>",
"height": "<height>",
"targetWidth": "<targetWidth>",
"targetHeight": "<targetHeight>"
},
"name": "bpj_image_frame_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| targetWidth | Yes | ||
| targetHeight | Yes |