Image - Convert to Grayscale

Power Automate Connector: Encodian – Image

Overview

The 'Image - Convert to Grayscale' flow action converts the image provided to grayscale.

Supported File Types

The following file types are supported by this action.

  • APNG
  • BMP
  • GIF
  • ICO
  • J2K
  • JPG
  • JPEG
  • PNG
  • SVG
  • SVGZ
  • TGA
  • TIF
  • TIFF
  • WEBP

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 - Convert to Grayscale' flow action parameters are detailed below:

  • File Content: A Base64 encoded representation of the image file to be processed.

Please refer to the Obtaining the 'File Contents' Parameter article for guidance on how to obtain the 'File Content' parameter ready to provide to an Encodian flow action.

Return Parameters

The 'Image - Convert Format' flow action returns the following data. 

Standard Return Values

  • FileContent - The processed image file.
  • 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 been completed, has been queued, or has failed.
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk