# Crop Coord Maximizer MCP for AI Agents AI Agent Connect

> Crop Coord Maximizer helps you get exact pixel coordinates for image crops. It takes your source image dimensions, your target aspect ratio (like 16:9 or 9:16), and your focal point to give you a perfect crop area. It's designed for content creators who need consistent, high-quality framing across different platforms without manual guessing.

## Overview
- **Category:** automation
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_dFbsQkwvj5otDjB7EDaLemQhY8CtXY3FdNWYW489/ai-agent-connect
- **Tags:** cropping, aspect-ratio, pixel-perfect, image-editing, coordinates

## Description

Crop Coord Maximizer gives you the exact pixel coordinates needed to crop images for different aspect ratios. If you're a content creator, you know the headache of trying to fit a high-res photo into a specific social media frame without cutting off the main subject. Usually, you'd have to open an editor, eyeball the crop, and hope the face stays in frame. This Connector changes that. You just tell your AI client where the subject is and what size you need, and it handles the math. It finds the exact top-left and bottom-right pixels for you. It even prioritizes keeping your focal point centered in the new frame. Whether you're batching thumbnails or prepping assets for different ad sizes, this tool ensures your layout stays consistent. You can find this in the Vinkius catalog to get your AI agent connected to these precise calculations. It takes the guesswork out of image framing so you can focus on the creative side of things.

## Tools

### calculate_crop
Get the exact top-left and bottom-right pixels for a specific target aspect ratio. It ensures your focal point stays centered in the new frame.

## Prompt Examples

**Prompt:** 
```
I have a 4000x3000 photo. I need a 16:9 crop for a website banner. The subject is in the middle.
```

**Response:** 
```
The crop coordinates for your 16:9 banner are:

*   **Top-Left:** (1111, 0)
*   **Bottom-Right:** (4000, 2250)

This will give you a clean widescreen look while keeping your subject perfectly centered in the frame.
```

**Prompt:** 
```
Is a 4:5 ratio standard for social media?
```

**Response:** 
```
Yes, a **4:5 ratio** is a very common standard for social media posts, often referred to as the 'portrait' format. It's a great choice for maximizing screen real estate on mobile feeds.
```

**Prompt:** 
```
If I crop a 1080x1080 image to 16:9, how much of the original image area is left?
```

**Response:** 
```
When you crop a 1080x1080 image to a 16:9 ratio:

*   **Scale Factor:** 0.88
*   **Area Preservation:** Approximately 79.2%

You'll be keeping about 80% of your original image content.
```

## Capabilities

### Get exact crop coordinates
Receive precise top-left and bottom-right pixels for any target aspect ratio.

### Keep subjects centered
The algorithm ensures your focal point stays in the middle of the new frame.

### Check standard ratios
Verify if a specific ratio matches common industry standards like portrait mobile.

### See area preservation
Understand how much of the original image area remains after a crop is applied.

### Automate multi-platform framing
Generate consistent layouts for different social media sizes from one source image.

## Use Cases

### Social media content batching
A manager needs to turn one 4K landscape photo into a 9:16 TikTok video. They ask the agent to find the best crop that keeps the person's face centered.

### E-commerce banner prep
A designer wants to create 16:9 website headers from a mix of portrait and landscape product shots. The agent calculates the coordinates for every file.

### Automated directory photos
An admin needs to crop 500 headshots into uniform squares. The agent uses the tool to find the exact coordinates based on where the faces are located.

### Ad creative scaling
A marketer needs to see how much of a photo is lost when switching to a wide banner. They use the tool to check area preservation before finalizing the design.

## Benefits

- Stop guessing where to cut images with calculate_crop to get perfect framing every time.
- Keep your main subject centered automatically so you don't accidentally crop out important details.
- Save hours of manual work by automating the resizing of images for different social platforms.
- Ensure your brand looks consistent across every single layout by using standardized ratios.
- Get instant feedback on image scale and area preservation using get_crop_metadata.
- Quickly verify if your custom dimensions match industry standards with validate_aspect_ratio.

## How It Works

The bottom line is you get precise coordinates for consistent image framing every time.

1. Provide the source image dimensions and your desired target aspect ratio.
2. Specify the focal point location, like a face or a specific product.
3. Get the exact pixel coordinates for the new crop area.

## Frequently Asked Questions

**Does Crop Coord Maximizer actually edit my photos?**
No, it doesn't edit the files. It calculates the exact pixel coordinates you need so that your AI agent or other tools can perform the crop perfectly.

**Can I use Crop Coord Maximizer for TikTok videos?**
Yes, it's perfect for that. You can tell your agent to find the best 9:16 coordinates for any source image while keeping your subject centered.

**How does Crop Coord Maximizer handle focal points?**
It's designed to prioritize your subject. By telling the agent where the focus is, the tool ensures those pixels stay in the center of your new crop.

**Can Crop Coord Maximizer help with batch processing?**
Absolutely. Because it provides raw coordinates, it's ideal for setting up automated pipelines that need to process hundreds of images at once.

**Does Crop Coord Maximizer work for any image size?**
Yes, it works with any resolution. Just provide the source dimensions and your target ratio, and it will do the math for you.

**How do I get the coordinates for a specific face?**
Just tell your AI client where the face is located in the image (like 20% from the left). The tool will then calculate the best crop around that point.

**How does the focal point affect the crop?**
The `calculate_crop` tool uses the provided X and Y percentages to shift the crop box. It attempts to center the crop on your focal point, but will clamp the coordinates to ensure the resulting rectangle stays within the original image boundaries.

**Can I use this for social media formats?**
Yes. You can use `validate_aspect_ratio` to identify standard ratios like 9:16 for TikTok or 1:1 for Instagram, and then apply those dimensions using the calculation tools.

**What information does `get_crop_metadata` provide?**
It provides the scale factor (how much the dimensions were reduced) and the area preservation percentage, which tells you how much of the original image content is retained in the final crop.