Compress JPG Image

Compress JPG Image

Description

This action compresses your Image File in order to reduce the needed size.

Supported formats:

  • JPEG
  • PNG
  • TIFF
  • GIF
  • BMP

Input Arguments

Input ArgumentTypeDescriptionRequired?Advanced Option?Default
FileThe image as an ObjectThe image file you want to compress. Allowed formats are JPEG, PNG, TIFF, GIF and BMP✔️-
Image QualityNumber as percentageThe higher the quality the bigger the size of the compressed file.70

For Image Quality, we recommend to choose a number below 90.

Response

ResponseTypeDescription
File responseFileThe image in a compressed format
File as StringStringBase64-encoded string representation of the rotated image. Useful for storing the image in variables.
MIME typeStringThe MIME type of the output file, e.g. image/jpeg, *image/png+.
ExtensionStringThe file extension of the output image format (e.g., png, jpg).

Power Automate Examples

Compress Example with JPG

We use our Power2Apps logo which we have stored in our SharePoint.

We have not changed the Image Quality option.

Picture

To save it in SharePoint you need to choose File response as the File Content setting.

Known Limitations

⚠️
If you experienced other limitations please get in touch with us!