calculate_print_size
Calculate target pixel dimensions, effective DPI, upscale factor, and aspect-ratio crop warnings for a chosen print size so you can verify image print quality before resizing.
Instructions
Calculate target pixel dimensions, effective DPI, required upscale factor, and aspect-ratio crop warnings for a target print size. Supported presets: 4x6, 5x7, 8x10, 11x14, 16x20, poster-24x36, A5, A4, A3, A2.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_print_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit for custom print dimensions. | in |
| preset | No | Standard print size preset. | |
| imagePath | No | Path to a local image (auto-reads width & height). | |
| targetDpi | No | Target print DPI (default 300). | |
| autoOrient | No | Match print orientation to image orientation. | |
| pixelWidth | No | Image width in pixels (if imagePath is omitted). | |
| pixelHeight | No | Image height in pixels (if imagePath is omitted). | |
| targetWidth | No | Custom print width (used when preset is omitted). | |
| targetHeight | No | Custom print height (used when preset is omitted). |