crop_image
Crop an image by removing outer edges with Border mode (set left, right, top, bottom) or by isolating a Rectangle region using upper-left x/y, width, and height.
Instructions
Crop an image via PDF4me CropImage (/api/v2/CropImage). Choose crop_type Border or Rectangle. Border: set left/right/top/bottom border in pixels. Rectangle: set upper_left_x/y and width/height.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| doc_name | No | ||
| crop_type | No | Border | |
| output_dir | No | ||
| top_border | No | ||
| left_border | No | ||
| right_border | No | ||
| upper_left_x | No | ||
| upper_left_y | No | ||
| bottom_border | No | ||
| image_file_path | Yes | ||
| output_file_name | No |