Skip to main content
Community site session details

Community site session details

Session Id : BWmQ7txLyiaD0fsnyfWkri
Power Automate - Building Flows
Answered

Automated Flow to Resize Image and Create New File Based on Original File Size

Like (0) ShareShare
ReportReport
Posted on 19 Jul 2023 18:44:21 by 109

Hello - I have a flow which takes images submitted through a form, creates a SharePoint File for them, and then sends them to be resized in Encodian if they are too large. But I'm having trouble figuring out how to get consistency in the file size request. 

I need the final files to always be as close to 297kb as possible without being larger than 297 kb.

Thank you!

amulhearn0207_0-1689792013699.png

 

  • Verified answer
    amulhearn0207 Profile Picture
    109 on 20 Jul 2023 at 02:13:04
    Re: Automated Flow to Resize Image and Create New File Based on Original File Size

    @SudeepGhatakNZ  and @AlexEncodian I was actually able to solve! I added a few Compose items to help with some calculations to get me to a percentage, which then could populate the Encodian field. Thank you both!

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on 20 Jul 2023 at 02:07:37
    Re: Automated Flow to Resize Image and Create New File Based on Original File Size

    @AlexEncodian , can you please look into this query?

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete