How to capture Screenshot from streamlit web App

Hi Team,
Below I have shared screenshot image of my app created using streamlit.

I would like to screenshot of any image which i am displaying in streamlit web application. How to perceive the same.

Regards
Swaminathan S

1 Like

@Charly_Wargnier Any thoughts from your end. I need it in the urgent basis. any workaround is welcome here.

Hi @Swaminathan_Sekar, and welcome to the Streamlit community! :balloon::raised_hands:

You can enable per-chart screenshot with Plotly

Plotly allows you to save static images of your plots. Save the image to your local computer, or embed it inside your Jupyter notebooks as a static image

Plotly integrates seamlessly to Streamlit via:

st.plotly_chart(data)

I hope this helps?

Best,
Charly

1 Like

@Charly_Wargnier Thanks for the suggestion. Instead of image, if I am showing a summary table and that I would like to capture screenshot and share it with concerned people, if the values gone beyond the range.

how can i pursue this in streamlit?

Any leads are welcome :blush:

That can also be achieved via Plotly!

Just display your summary table as a Plotly table :slight_smile:

I hope that helps

Best,
Charly

1 Like

@Charly_Wargnier . Thanks for the quick and great support smiley:.

1 Like

If this helps, I have implemented an initial version of a β€œPage Screenshot” button, as posted here:
Streamlit Screenshots

Feel free to reach out or provide any feedback!