crop_image
Extract and save a specific region of an image by defining pixel-based coordinates and dimensions for precise cropping.
Instructions
Crop an image to specified region
Input Schema
Name | Required | Description | Default |
---|---|---|---|
height | Yes | Height of crop area | |
inputPath | Yes | Path to input image | |
left | Yes | Left offset in pixels | |
outputPath | Yes | Path to save cropped image | |
top | Yes | Top offset in pixels | |
width | Yes | Width of crop area |