DPI calculator
calc_print_resolutionCalculate resolution for print. Pass print width and height with unit (mm, cm, in), optional viewing_distance with distance_unit (cm, in, m) and optionally pixels_w, pixels_h of the image you have. Formulas: pixels = size in inches x ppi; the ppi a viewer can resolve at distance d is 1 / (2 d tan(0.5 arcminute)) which is about 3438 / d(inches), assuming normal 20/20 vision resolves 1 arcminute; effective ppi = pixels / size in inches. Returns pixels needed at the acuity-suggested ppi (capped at 300) and at 300 ppi, and, if you give pixel dimensions, the effective ppi and a verdict. 300 ppi is the usual figure for work held in the hand; large format is viewed from farther away and can go lower. The vendor's stated minimum wins. 'DPI' here means image pixels per inch.
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>"
},
"name": "calc_print_resolution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Size unit | |
| width | Yes | Print width | |
| height | Yes | Print height | |
| pixels_h | No | Image height in pixels | |
| pixels_w | No | Image width in pixels you have | |
| distance_unit | No | Distance unit | |
| viewing_distance | No | Viewing distance (default: handheld, 300 ppi) |