cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Santosh10
New Member

Microsoft flow for converting image to PDF is not working

 

imageflowerror.png 

 

 

I m trying to convert documents and images to pdf.Flow is working fine for documents but getting a corrupted pdf file for image. Actually it was working fine few days ago,but now i m getting the corrupted pdf file.Can you please help me out.

11 REPLIES 11
haneeshrondla
Frequent Visitor

Re: Microsoft flow for converting image to PDF is not working

Even I have exactly similar issue. My document is converted to PDF perfectly, but the image is corrupted. It was working fine earlier, but we get the corrupted pdf file for image.

Could you please let me know if you were able to resolve this?

ktvision Helper I
Helper I

Re: Microsoft flow for converting image to PDF is not working

I have the same issue.  It was work fine for a while and then it stop converting image.  Therefore, I created ticket with MS Flow, product team. They have been researching for a couple of weeks and they email me that it is the know issue and they are working on it.  I will let you know if I hear anything else from the MS Flow product team.  

 

If any of you find the solution, please let me know as well.

 

Thanks

haneeshrondla
Frequent Visitor

Re: Microsoft flow for converting image to PDF is not working

Hello,

 

Thanks for the reply. This works for me now, the image is loading perfectly on the PDF. Probably MS has managed to resolve this.

Teaners26 Helper I
Helper I

Re: Microsoft flow for converting image to PDF is not working

What was the


@haneeshrondla wrote:

Hello,

 

Thanks for the reply. This works for me now, the image is loading perfectly on the PDF. Probably MS has managed to resolve this.



solution for this?

zdridos Advocate II
Advocate II

Re: Microsoft flow for converting image to PDF is not working

Same problem here ! any solution please ?!!

MartinVasek Advocate II
Advocate II

Re: Microsoft flow for converting image to PDF is not working

Hello,

 

what is the solution for this please? Images are still broken.

 

TY

haneeshrondla
Frequent Visitor

Re: Microsoft flow for converting image to PDF is not working

Hello,

 

It would be because of the MS update to the Flow. Even I faced this issue for days, and suddenly the image was rendering perfectly.

MartinVasek Advocate II
Advocate II

Re: Microsoft flow for converting image to PDF is not working

So if you have in your HTML text field for example <img src='http://adress'> in your output PDF you have image showed correctly? Because I have formatted text and hyperlinks OK but images are still not rendering.

 

Can you please describe your solution?

 

TY

MV

zdridos Advocate II
Advocate II

Re: Microsoft flow for converting image to PDF is not working

Hello @MartinVasek , did you convert your image to dataURI first ?

MS Flow can not recover an image via an http link. You must first convert your image via convert (dataURI) then retrieve the result to embed in the document which will be converted to PDF. Here is a demonstration of Shane Young:


https://www.youtube.com/watch?v=2rfAQe1kK8M


But to upload an image from your PC, then save the conversion result of the image in SharePoint or OneDrive before using it in the document that will be converted to PDF, that's another story.


Here is a demonstration of Paul Culmsee:


http://www.cleverworkarounds.com/2017/11/13/a-sample-openapiswagger-file-for-powerapps/

One of the major problems in converting documents to PDF is that the size of the file to be converted (for example an HTML file), must not exceed 2 MB. Otherwise the conversion will fail and you will not have the PDF.

Here is a request that has been made to Microsoft to change the limit from 2 MB to at least 50 MB. Thank you for voting for this idea.  

https://powerusers.microsoft.com/t5/Flow-Ideas/Remove-the-2mb-limit-for-Convert-File/idi-p/177989


zdridos Advocate II
Advocate II

Re: Microsoft flow for converting image to PDF is not working

@MartinVasek , 

Here is the video demonstration of Paul Culmsee:

https://www.youtube.com/watch?v=mp-8B1fLrqs

MartinVasek Advocate II
Advocate II

Re: Microsoft flow for converting image to PDF is not working

Thank you for answer @zdridos,

 

but in our case I believe it's impossible to use these solutions. Because we have HTMLtext control of PowerApps and inside of it there could be 1, 5, 10... pictures. So we don't have option to call particular picture from SharePoint since it could be anwhere and we can't predict how many images there will be in that HTMLtext.

 

I'm affraid that it's endline for us until there will be simple solution: Create PDF -> PDF with auto inserted pictures.

 

Helpful resources

Announcements
Did you attend MBAS? Claim your badge

Attending MBAS? Claim your badge

Whether you’ve streamed the digital event live, or you're watching on-demand, claim your attendee badge to sport on your profile.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,001)