Skip to main content

Crop Image in Power Automate

PDF4me Crop Image action enables cropping and trimming images in Power Automate with border and rectangle crop methods. This essential image editing feature removes unwanted image areas, focuses on key content, adjusts composition, and optimizes images for specific dimensions, perfect for product photos, profile pictures, social media formatting, and content optimization across Microsoft 365 workflows.

Authenticating Your API Request

To access the PDF4me Web API through Power Automate, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Power Automate flows and PDF4me's powerful image cropping services.

Crop Image Power Automate

Key Features

  • Multiple Crop Methods: Crop by border or rectangle specifications
  • Precision Control: Define exact crop dimensions and coordinates
  • Aspect Ratio: Maintain or modify image aspect ratios
  • Batch Processing: Crop multiple images in automated workflows
  • Quality Preservation: Maintain image quality during cropping

Parameters

Complete list of parameters for the Crop Image action. Configure these parameters to control image cropping.

Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.

ParameterTypeDescriptionExample
Crop Type***OptionCrop Method Selection
Border - Crop by specifying border widths to remove
Rectangle - Crop by defining rectangle coordinates
Percentage - Crop by percentage from edges
• Determines cropping calculation method
Rectangle
OperationDynamicCrop Operation Parameters
• Dynamic object based on Crop Type selected
• Border: Top, Bottom, Left, Right values in pixels
• Rectangle: X, Y, Width, Height coordinates
• Percentage: Top%, Bottom%, Left%, Right% values
{X:100, Y:100, Width:800, Height:600}

Output

The PDF4me Crop Image action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
File ContentBinaryCropped image file with specified areas removed

Workflow Examples

The PDF4me Crop Image action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:

Automated Product Photo Cropping Workflow

Transform product photography with automated image cropping:

Complete Workflow Steps:

  1. Trigger: Product photo uploaded to photography folder
  2. Get Photo: Retrieve product image from SharePoint
  3. Detect Product: Use AI Vision to identify product boundaries
  4. Calculate Crop: Determine optimal crop rectangle
  5. Crop Image: Remove background and focus on product
  6. Resize Cropped: Adjust to standard product photo size
  7. Upload to Catalog: Save cropped image to product catalog
  8. Update Product: Link cropped image to product record

Business Benefits:

  • Crops 200+ product photos monthly automatically
  • Ensures consistent product photo composition
  • Reduces manual photo editing time by 90%
  • Improves product page appearance and conversion

Industry Use Cases & Applications

E-commerce & Retail Use Cases

  • Product Photography: Crop product photos to remove backgrounds
  • Catalog Images: Standardize catalog image dimensions
  • Thumbnail Creation: Crop images for thumbnail generation
  • Social Media Posts: Crop for platform-specific dimensions

Get Help