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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

convert HEIC to JPG

(0) ShareShare
ReportReport
Posted on by

Hi, i want to convert .heic files to .jpg files using power automate.

I use therefore the these steps:

  1. When a file is created
  2. Convert file (to JPG)
  3. Create file

The converting process is working, but i only get something like a preview file (Input ~3MB HEIC file, Output ~90KB jpg File).
I get the same bad quality if i use .png or .jpg files with similar original file size.
So there is a huge image quality loss, are there any settings how good the quality should be, or how I can influence the image quality.

Categories:
I have the same question (0)
  • PowerPyro Profile Picture
    4 on at

    Hi! Really interested in how you managed to make this flow. I'm not making much sense of the documentation (yes I am a complete novice). 
    Do you mind sharing your action and expressions for the convert file step?

  • nadia-emily Profile Picture
    2 on at

    Hello,

    You can definitely convert HEIC to JPG files using Power Automate. Here are the steps you can follow:

    1. Begin by creating a new Flow in Power Automate and select the "When a file is created or modified (properties only)" trigger.
    2. Next, select the folder where your HEIC files are stored.
    3. Add an "Apply to each" action and select the "Convert file" action.
    4. In the "Convert file" action, select the "File content" from the "File content" field, and then select "JPEG" as the "Output file type."
    5. Lastly, add an action to save the converted file to your desired location.

    Once you have set up the flow, Power Automate will automatically convert any newly added HEIC files to JPEG format and save them to your desired location. I hope this helps! Let me know if you have any further questions or concerns.

  • PowerPyro Profile Picture
    4 on at

    Hi Nadia-Emily, and thank you for your response. However, I get an error message stating: "The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['headers/x-ms-file-name-encoded']' is of type 'String'. The result must be a valid array." 

    Pictures of the flow and test is attached. What am I doing wrong?

  • DerekMStrout Profile Picture
    2 on at

    Hi there - I am attempting the same conversion process you describe and am also only able to create a 'preview' or thumbnail-sized version of the original HEIC file. I assume that's the "(preview)" part of the Power Automate action Create file using path (preview). Have you found a solution that results in a full-size .JPG file?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard