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 Argument | Type | Description | Required? | Advanced Option? | Default |
---|---|---|---|---|---|
File | The image as an Object | The image file you want to compress. Allowed formats are JPEG, PNG, TIFF, GIF and BMP | ✔️ | ❌ | - |
Image Quality | Number as percentage | The higher the quality the bigger the size of the compressed file. | ❌ | ❌ | 70 |
For Image Quality, we recommend to choose a number below 90
.
Response
Response | Type | Description |
---|---|---|
File response | File | The image in a compressed format |
File as String | String | Base64-encoded string representation of the rotated image. Useful for storing the image in variables. |
MIME type | String | The MIME type of the output file, e.g. image/jpeg, *image/png+. |
Extension | String | The 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.
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!