Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Python & HTML rendering

 Hi

 

I have read the blog https://powerbi.microsoft.com/en-us/blog/pythonblogepisode1/

 

I was wondering if there is any progress in the rendering of HTML, saving as a png is not really a solution. 

 

Thanks 

4 REPLIES 4
Anonymous
Not applicable

 Hi

 

I have read the blog https://powerbi.microsoft.com/en-us/blog/pythonblogepisode1/

 

I was wondering if there is any progress in the rendering of HTML, saving as a png is not really a solution. 

 

Thanks 

v-juanli-msft
Community Support
Community Support

Hi @Anonymous

Would you want to convert HTML to an image in PYTHON?

Please find the answer here: https://stackoverflow.com/questions/5633828/convert-html-to-an-image-in-python

 

Best Regards

Maggie

Hi,

Have you managed to come with a POC so far? If so, it would be interesting to share a sample so we could have a look at it. I agree it may not be the best option, but at this stage, being able to add a sort of  a "HTML convert as an image"... step in the code may be a temporary solution. Thank you. 

Anonymous
Not applicable

Hi Maggie

 

Thank you for the reply.

 

What I really want to know is how long untill Microsoft develop support for Python packages that render output in HTML? The blog I quoted makes out it is work in progress towards this.

 

I want to display an interactive HTML in PowerBI, and it is a big file. You can see it in the link below. Would the png solution maintain full interactivity? If so sorry I hadnt realised png has such power! If it does I cant get that solution to work, I noticed its written for OSX and there seems to be some Linux support but I am using Windows and Python 3, assuming that might be my problem but could be wrong. There has not been any commits to webkit2png since feb 2015 & so its hard to find a solution - I feel like I'm burrowing into a rabit hole trying.

 

https://www.scottcharlesworth.com/Freelance/wp-content/uploads/2018/11/trade_map_.html

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.