Image - Clean Up (Photo)

Power Automate Connector: Encodian – Image

Overview

The 'Image - Clean Up (Photo)' Power Automate action offers various options to clean and optimize an image. This action is best used with photo images. If you need to clean up/optimise a document-based image, please refer to the Image Clean Up (Document) action.

The following image file formats are supported:

  • JPG
  • GIF
  • BMP
  • PNG
  • TIFF
  • TIF

Credit Count

This action consumes 1 credit per operation.

Note, different Encodian actions can consume different numbers of credits. Please always check the action-specific documentation and read What is an Encodian Action for a full description of how credits are consumed.

Default Parameters

The default 'Image - Clean Up (Photo)' flow action parameters are detailed below:

  • Filename: The filename of the source PDF document (including the file extension)
  • File Content: A Base64 encoded representation of the PDF document
  • Clean Operations: Configures which 'Clean Operations' should be executed.

By default the 'Clean Operations' setting is set to 'Default' which will apply the following clean-up operations:

  • Deskew - Detects the skew angle and rotates to remove that skew
  • Despeckle - Automatically detects speckles and removes them
  • Color Balance - Restores and balances the color quality within an image
  • Auto Rotate - Automatically detects orientation and rotates so that the text is upright oriented

Advanced Parameters

The advanced 'Image - Clean Up (Photo)' flow action parameters are detailed below:

NOTE: These settings will only apply when the 'Clean Operations' value is set to ''Specific"

  • Deskew - Detects the skew angle and rotates to remove that skew.
  • Despeckle - Automatically detects speckles and removes them.
  • Color Balance - Restores and balances the color quality within an image.
  • Remove Border - Locates border pixels and removes the pixels from the document
  • Contrast - Adjusts the contrast in the current image.
  • Remove Redeye - Automatically reduces the red reflection of the flash seen in the eyes of people in color flash photo images.
  • Blur - Blurs the current image by averaging each pixel with each of its neighbouring pixels, giving it an 'out of focus' appearance.
  • Diffuse - Diffuses the current image by replacing each pixel with a randomly selected neighbouring pixel.
  • Binarize - Computes all necessary parameters by analyzing the input data before actually performing the binarization. The algorithm is tuned to typical document images, consisting of dark text on a brighter background. It is robust to shadows, noise, and background images.
  • Auto Rotate - Automatically detects orientation and rotates so that the text is upright oriented

Return Parameters

The 'Image - Clean Up (Photo)' flow action returns the following data. 

Action Specific Return Values

  • Filename - The filename of the image file
  • File Content - The file content of the image file

Standard Return Values

  • OperationId - The unique ID assigned to this operation.
  • HttpStatusCode - The HTTP Status code for the response.
  • HttpStatusMessage - The HTTP Status message for the response.
  • Errors - An array of error messages should an error occur.
  • Operation Status - Indicates whether the operation has completed, has been queued or has failed.
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk