web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Compress, Resize Image...
Power Automate
Unanswered

Compress, Resize Images in Power Automate

(0) ShareShare
ReportReport
Posted on by 29

We want to to compress / resize images being uploaded from the camera or gallery.  For Example If the user uploading the  4MB picture that need to be converted in to 50 KB, Height : 100 CM, Width : 100 CM

Requesting can you please suggest me the best possible options and best practices

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Hi there, 

     

    You could do this using a connect, like Encodian: 

    https://support.encodian.com/hc/en-gb/articles/360018591034-Resize-an-Image

     

    Or, you could achieve this through Power Automate Desktop. Either way, you'll end up needing an Encodian license (if you are using more than a certain # per month) or a premium license (for unattended bots.) 

    Are these choices feasible?

     

    Cheers,

     

    Rhia

  • JonathanTeo1 Profile Picture
    27 on at

    Although this is an old thread, I've found a way to compress the images by using the Get File Thumbnail action connector.

     

    You can use the "Get File Thumbnail" to generate a URL Dynamic content.

    From here you can use the "Upload file from URL" action to generate a smaller down-sized image.

    You can then get the file content from the uploaded file and do any other actions you require.

     

    Although there's some limitations with specifying the exact size you want, looks like you can choose only a few specific thumbnail sizes.

     

    Using this you should be able to downsize most images to a manageable size without premium actions or third party connectors.

    JonathanTeo_1-1704947734327.png

     

     

  • Blake_Tague Profile Picture
    17 on at

    Hi @JonathanTeo , 

     

    This solution sounds just what I need, whats the image quality like on the other end for the receiver of the email? We will be sending images of hazards or things that need repair so will need to retain some quality. 

     

    Look forward to hearing your response. 

     

    Cheers 

     

    B

  • JonathanTeo1 Profile Picture
    27 on at

    Hi Blake,

    If I recall correctly the "Large" thumbnail size has a max resolution of 800 x 800.

    We are also using it for a relatively similar use case. In general, the image quality looks decent enough to me for the large sized thumbnail but for the medium/small sizes I find it insufficient for viewing clear details.

     

    You can try it out by generating the thumbnails of different sizes for the same image to test out the quality if it fits your requirements.

  • JonoOh Profile Picture
    4 on at

    It looks like the end of the URL of the thumbnail generation specifies the max dimensions of the file like this: Published&width=800&height=800

     

    I've played around with changing the values and it seems to work just editing the values and the resulting image will scale to it up to the size of the original. So that can be used to specify whatever dimensions you want for more control over that.

  • miaroze Profile Picture
    28 on at

    Hi @JonathanTeo , 

     

    I am very new to power automate so is it possible for you to explain a bit more of how you did that? I am not sure what I should put as the file destination for the Upload File from URL action. I would really appreciate your help!

     

    Thank you,

    MR

  • JonathanTeo1 Profile Picture
    27 on at

    Hi MR,

     

    For the source destination I've just created a folder in OneDrive to save the file to be used later.

    E.g. /Images/[Your File name].jpg

     

    Regards,

    Jonathan

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard