Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Picture scaling problem when using ConvertFile action (HTML->PDF)


 I got the flow working and first creating HTML and then converting it to PDF.  The problem I came across is scaling of pictures. I already figured out that one page of generated PDF coresponds to a HTML file with 412pt x 595pt size.
But when HTML contains images which are properly scaled in HTML they are always in orignal size in generated PDF. 
E.g. Logo file with resolution of 600x100 is set in HTML  with style="width: 100pt". It is scaled properly in HTML, but in generated PDF it has the orignal 600 width and does not even fit on the PDF page. 
 Am I doing something wrong or the ConvertFile action can't scale picuters properly.?
 I can always lower the resolution of the logo file down to 100x16 (600x100 divided by 6), but this is a very low resolution to be shown as 1/4 of the width of generated A4 or Letter size PDF.

 Any suggestions?

Level: Powered On

Re: Picture scaling problem when using ConvertFile action (HTML->PDF)

BTW. 412x595pt HTML fits on one page, but any HTML bigger than 412x585pt is casuing generation of second empty page in PDF.

Helpful resources


Watch Sessions On Demand!

Continue your learning in our online communities.


Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

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


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round


Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 42 members 4,190 guests
Please welcome our newest community members: