Skip to main content

Notifications

Power Automate - Using Connectors
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

  • JonathanTeo1 Profile Picture
    JonathanTeo1 25 on at
    Re: Compress, Resize Images in Power Automate

    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

  • miaroze Profile Picture
    miaroze 28 on at
    Re: Compress, Resize Images in Power Automate

    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

  • JonoOh Profile Picture
    JonoOh 4 on at
    Re: Compress, Resize Images in Power Automate

    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.

  • JonathanTeo1 Profile Picture
    JonathanTeo1 25 on at
    Re: Compress, Resize Images in Power Automate

    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.

  • Blake_Tague Profile Picture
    Blake_Tague 17 on at
    Re: Compress, Resize Images in Power Automate

    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
    JonathanTeo1 25 on at
    Re: Compress, Resize Images in Power Automate

    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

     

     

  • Rhiassuring Profile Picture
    Rhiassuring 8,688 on at
    Re: Compress, Resize Images in Power Automate

    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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics