• MATH
  • DIMENSIONS
  • DATA
  • HUMAN

How to calculate crop coordinates with your agent

Connect the Aspect Ratio Crop Calculator to your AI client to turn target ratios into exact pixel math. It handles the geometry so you don't have to.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I find crop coordinates for a specific aspect ratio?

Tell your agent the target aspect ratio and the original image dimensions. Your agent uses the calculate_crop_geometry tool to output the specific X, Y, width, and height values you need. You'll get the exact pixel boundaries for your crop immediately.

The results of your request.

Where the math lands.

Once you provide the image details, your agent processes the geometry and delivers these outcomes.

MATH

Exact pixel boundaries

Your agent finds the precise X and Y coordinates. You get the exact starting point for your crop.

DIMENSIONS

Target width and height

The tool calculates the specific pixel width and height required to maintain your chosen ratio. This prevents stretching.

DATA

Formatted crop JSON

Your agent provides the geometry in a clean format. You can copy these numbers directly into your editing software or code.

HUMAN

Visual verification

Your agent provides the numbers, but you must check the crop against the original image. You decide if the composition looks right.

The workflow

What your agent does when the dimensions arrive.

Your agent takes your raw image data and converts it into actionable cropping instructions.

  1. Analyze dimensions

    Your agent reads the original width and height of your image along with your desired aspect ratio.

    calculate_crop_geometry
  2. Compute geometry

    Your agent runs the math to determine how much of the image to keep to hit the target ratio.

    calculate_crop_geometry
  3. Define boundaries

    The tool identifies the top-left corner and the total pixel area for the new frame.

    calculate_crop_geometry
  4. Output coordinates

    Your agent presents the final X, Y, width, and height values in your chat interface.

    calculate_crop_geometry

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Aspect Ratio Crop Calculator tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to get the math started immediately.

Starting points

Swap out the bracketed text with your actual image dimensions and the ratio you want.

Aspect Ratio Crop Calculator Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_7zMxKKhAO6yxUXw3DTXYPQcqaVmAd3igjgRdc9jY/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Aspect Ratio Crop Calculator capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "aspect-ratio-crop-calculator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_7zMxKKhAO6yxUXw3DTXYPQcqaVmAd3igjgRdc9jY/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the crop coordinates for a 16:9 aspect ratio on an image that is 4000x3000 pixels.

  • 02

    I need a 1:1 square crop for an image with dimensions 1080x1920. What are the coordinates?

  • 03

    Find the crop geometry for a 4:5 ratio using an original image size of 2500x2500.

  • 04

    Give me the X, Y, width, and height for a 2.35:1 cinematic crop on a 5000x3000 image.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Aspect Ratio Crop Calculator once, then ask.

One click connects this MCP to your client. Your credentials stay encrypted, and you can start asking for crop math right away.

Connect Aspect Ratio Crop Calculator to your agent

FAQ

How the tool behaves

  • 01

    Can your agent crop the image for me?

    No. Your agent calculates the pixel coordinates, but you must perform the actual crop in your image editor.

  • 02

    Does it handle center crops by default?

    Your agent calculates the geometry based on your instructions. You should specify if you want a center crop or a corner crop.

  • 03

    Will it change my original image file?

    No. This MCP only performs mathematical calculations. It does not touch or modify your image files.

  • 04

    Can I use this for video aspect ratios?

    Yes. You can provide any pixel dimensions, including those used for video, to get the correct geometry.

  • 05

    Does it work with any aspect ratio?

    Yes. You can provide any ratio, such as 16:9, 4:3, or even custom decimal ratios.

  • More questions about Aspect Ratio Crop Calculator? The Connector page answers them. See everything the Aspect Ratio Crop Calculator Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Aspect Ratio Crop Calculator to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Aspect Ratio Crop Calculator plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Aspect Ratio Crop Calculator to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.