# Rendering a png at full resolution

**URL:** <https://discuss.streamlit.io/t/rendering-a-png-at-full-resolution/6111>\
**Category:** Using Streamlit\
**Created:** [October 8, 2020, 6:25pm UTC](https://discuss.streamlit.io/t/rendering-a-png-at-full-resolution/6111 "2020-10-08T18:25:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex-Robson](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/alex-robson/32/3405_2.png) [@Alex-Robson](https://discuss.streamlit.io/u/Alex-Robson)\
**Post date:** [October 8, 2020, 6:25pm UTC](https://discuss.streamlit.io/t/rendering-a-png-at-full-resolution/6111/1 "2020-10-08T18:25:41Z")

</div>

I’m displaying a local png with the following:

```
# Header
logo = PIL.Image.open('./data/streamlit/ar1.png')
# st.markdown('![logo](./data/streamlit/ar1.png)') # this failed to display with a little broken file symbol
st.image(logo, width=700, output_format='png') # logo

```

However, it’s displaying at lower resolution than the original image. I had trouble using markdown as a workaround. Might you be able to advise on what the issue might be or how to use markdown?

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [October 8, 2020, 8:16pm UTC](https://discuss.streamlit.io/t/rendering-a-png-at-full-resolution/6111/2 "2020-10-08T20:16:19Z")

</div>

Hi @Alex-Robson, did you try messing with the `output_format` argument but putting `PNG` in caps? I hope that’s not the issue, but the docs seem to indicate it’s uppercase

> **[API reference — Streamlit 0.67.1 documentation](https://docs.streamlit.io/en/stable/api.html#streamlit.image)**

---

<div class="post-metadata">

**Author:** ![Alex-Robson](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/alex-robson/32/3405_2.png) [@Alex-Robson](https://discuss.streamlit.io/u/Alex-Robson)\
**Post date:** [October 8, 2020, 9:29pm UTC](https://discuss.streamlit.io/t/rendering-a-png-at-full-resolution/6111/3 "2020-10-08T21:29:03Z")

</div>

I hadn’t done all caps! Thanks that did the trick!

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [January 12, 2022, 9:57pm UTC](https://discuss.streamlit.io/t/rendering-a-png-at-full-resolution/6111/4 "2022-01-12T21:57:02Z")

</div>


