calculate_aspect_ratio

shallow

com.prismposter/creator-tools · Verify this server

Reduce any pixel size to its simplest aspect ratio (1920x1080 is 16:9) and the nearest even size an H.264 encoder accepts, and, given a target ratio, solve the missing width or height and return the centre-crop and letterbox/pillarbox plans with the px trimmed or added per edge. Use this for arbitrary sizes and ratios (cinema 2.39:1, a client's 4:5); when the target is a named platform placement, use get_social_media_placement with sourceWidth/sourceHeight instead, which picks the right ratio for you. Errors on a non-integer or out-of-range size, or on only one of targetRatioW/targetRatioH.

100.0/100

1 trials · measured 10 days ago

calculate_aspect_ratio scores 100.0/100 on Vouch's measured behaviour index, from 1 real invocation trials against com.prismposter/creator-tools, measured 12 Nov 2026 under methodology v0.2.0. Every measured component scored 100.

Component breakdown

ComponentWeightValue
Reliability35%not applicable
Schema integrity25%100.0
Failure behaviour15%not applicable
Latency15%not applicable
Concurrency10%not applicable

Tool details

Transport
remote + stdio
Credential class
open
Input schema
not declared
Output schema
not declared
Side-effect classification
unclassified

Score history

DayScoreTierMethodology
2026-11-12100.0shallowv0.2.0

Probe evidence

ProbeOutcomes
schema_integritypass: 1

Raw request/response logs are not archived yet — the outcome counts above are drawn directly from every recorded trial.

Embed this score

Available for every tool, scored or not — not a verification perk. Always links back to this page.

Vouch score: calculate_aspect_ratio
[![Vouch score](https://vouch.tools/api/tools/d6a6415e-bb76-4ca8-a08c-dee8458afeab/badge.svg)](https://vouch.tools/tools/d6a6415e-bb76-4ca8-a08c-dee8458afeab)
calculate_aspect_ratio — Vouch