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 / How can I convert a jp...
Power Automate
Unanswered

How can I convert a jpg file to pdf in PAD without using ONE DRIVE or Third party connectors

(0) ShareShare
ReportReport
Posted on by 2

I need to convert loads of jpg format files to PDF in Power Automate Desktop, how can I acheive this?

I have the same question (0)
  • Deenuji_Loganathan_ Profile Picture
    6,250 Moderator on at

    @HG21 

     

    Please follow the below link for the similar discussion.

    Solved: powershell code or any another to convert from jpg... - Power Platform Community (microsoft.com)

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    The post that @Deenuji references explains how to do it via the user interface, which, I think is not very efficient. I would recommend using a script, such as PowerShell or VBScript to print to PDF. It's quite straightforward. Here's a sample PowerShell script you could use: https://www.powershellgallery.com/packages/WienExpertsLive/1.14/Content/Out-PDFFile.ps1 (a bit of an overkill though, as it installs the Microsoft PDF Printer, which is not needed, really, as you should already have it with Windows).

     

    Or you could just use the following PowerShell script to use a "headless" instance of Chrome to print it to PDF:

    Start-Process -FilePath "C:\Program Files\Google\Chrome\Application\chrome.exe" -ArgumentList "--headless --disable-gpu --print-to-pdf=`"{PDFFilePath}`" `"file:///{ImageFilePath}`""

     Note you need to replace the placeholders with actual file paths.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard