Premium apps

Photo Crop & Resize Planner

Plan a precise crop and output size before resizing a photo.

Try an example: Square social photo · Fit a small photo without enlargement

How it works

Calculate a centered crop, final pixel dimensions and scale for a target box. Fit keeps the whole image; fill crops to the requested aspect ratio. Upscaling is optional.

  • Fit uses the smaller target/source scale; fill uses the larger one and a centered crop.
  • When enlargement is disabled, scale is capped at 1. Pixel coordinates and output dimensions are rounded to whole pixels.

For scripts and AI agents

  • JSON API: POST https://luminaresizeplanner.usefulweb.app/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://luminaresizeplanner.usefulweb.app/mcp · tool name lumina_resize_planner
Example request
curl -s -X POST https://luminaresizeplanner.usefulweb.app/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"width":6000,"height":4000,"targetWidth":1080,"targetHeight":1080,"mode":"cover","upscale":false}'

Related tools

  • Batch Image Resizer & Cropper – Resize or crop up to 30 images at once: exact size, fit, percentage or 1:1, 4:5, 16:9, 9:16.
  • Image Compressor – Shrink JPG, PNG, WebP, AVIF or GIF images: convert, resize, strip metadata and compare sizes.
  • Image Upscaler – Enlarge images 2×, 3× or 4× with classic Lanczos/Mitchell filters and sharpening (no AI).
  • Photo Print Size Planner – Find how large your photo can print at your chosen resolution.
Feedback · ideas & bug reports welcome