# How to save an image to computer

**URL:** <https://discourse.julialang.org/t/how-to-save-an-image-to-computer/64533>\
**Category:** New to Julia\
**Created:** [July 12, 2021, 8:51pm UTC](https://discourse.julialang.org/t/how-to-save-an-image-to-computer/64533 "2021-07-12T20:51:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KyleModell](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@KyleModell](https://discourse.julialang.org/u/KyleModell)\
**Post date:** [July 12, 2021, 8:51pm UTC](https://discourse.julialang.org/t/how-to-save-an-image-to-computer/64533/1 "2021-07-12T20:51:58Z")

</div>

Hey,

I want to save the image below to my computer but don’t know how. Attached is a screenshot of code and image. Any ideas? Thanks!

(I\_trimmed is an Array{Float32,2}, the rest are PyObject)

Best,  
K

 ![screenshot](https://global.discourse-cdn.com/julialang/original/3X/d/9/d979de8531793b844586a7c8487e159f97d55c23.png)

---

<div class="post-metadata">

**Author:** ![fgerick](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fgerick/32/13228_2.png) [@fgerick](https://discourse.julialang.org/u/fgerick)\
**Post date:** [July 12, 2021, 9:21pm UTC](https://discourse.julialang.org/t/how-to-save-an-image-to-computer/64533/2 "2021-07-12T21:21:39Z")

</div>

you can use `savefig("name.png")` - similar to [pyplot — Matplotlib 2.0.2 documentation](https://matplotlib.org/2.0.2/api/pyplot_api.html#matplotlib.pyplot.savefig)

---

<div class="post-metadata">

**Author:** ![KyleModell](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@KyleModell](https://discourse.julialang.org/u/KyleModell)\
**Post date:** [July 12, 2021, 10:06pm UTC](https://discourse.julialang.org/t/how-to-save-an-image-to-computer/64533/3 "2021-07-12T22:06:41Z")

</div>

Hey fgerick, thanks for your response. I read the linked documentation. Though I’m not sure that will work. The image that I have does not have a filename. It is a combination of an image with quivers on it… I need to somehow save this image as an object and then save that object… Any other pointers would be greatly appreciated!?
