Although the OneDrive "convert file" action to convert HTML to PDF appears to be working again for some images, SVG images are still not displaying. They display correctly when the HTML file is opened with any browser I've tested so far, so I'm reporting this as a bug.
Unless there's some kind of trick to handling SVG's.
I've tried both <img> tags linking to SVG files, and embedding base64-encoded SVGs within <img> tags. Jpegs seem to show up when embedded inline but not when linked, so embedding seems like it should work. Here's the format of my HTML:
<img src='data:image/svg+xml;base64,(base64-encoded SVG)' />
Is anyone having the same issue, or has anyone successfully been able to display an SVG in a PDF with the OneDrive convert file action?
Could you please share a screenshot of the configuration of your flow?
Could you please share more details about the SVG image?
Please share more details so we would try to provide a proper workaround for you.
I edited this post a bunch of times. It's really tough to get everything in order in this editor, and apparently impossible to magnify images greater than one screen height. I know there are some extra screenshots posted at the bottom. I think you can figure out what the setup is, though, and hopefully see everything.
I can re-post if you're confused.
Spent all morning trying to do a workaround based on tables with inline PNG's of the data bars scaled to a dynamic width.
This was the best I could come up with:
It gets worse. Here's how that renders in browser:
Here's what it looks like if I paste the exact same HTML into an e-mail:
What standards does this HTML rendering engine support? What standards does Outlook Desktop app and Outlook Webapp support? It's very difficult to design content without knowing what's supported.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
Check out the community blog page where you can find valuable learning material from community and product team members!