# No method matching \`save\` error upon calling \`load\` for a .png file \`using Images\`

**URL:** <https://discourse.julialang.org/t/no-method-matching-save-error-upon-calling-load-for-a-png-file-using-images/46257>\
**Category:** New to Julia\
**Tags:** package\
**Created:** [September 8, 2020, 11:59am UTC](https://discourse.julialang.org/t/no-method-matching-save-error-upon-calling-load-for-a-png-file-using-images/46257 "2020-09-08T11:59:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kapple](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kapple/32/218915_2.png) [@kapple](https://discourse.julialang.org/u/kapple)\
**Post date:** [September 8, 2020, 11:59am UTC](https://discourse.julialang.org/t/no-method-matching-save-error-upon-calling-load-for-a-png-file-using-images/46257/1 "2020-09-08T11:59:50Z")

</div>

The following code

```julia
using Images
Img = load("Img.png")

```

produces the following error

```julia
ERROR: MethodError: no method matching save(::Base64.Base64EncodePipe, ::Array{RGBA{Float32},2}, ::Pair{Symbol,ImageShow.var"#14#16"})

```

What should I do?

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [September 8, 2020, 12:29pm UTC](https://discourse.julialang.org/t/no-method-matching-save-error-upon-calling-load-for-a-png-file-using-images/46257/2 "2020-09-08T12:29:41Z")

</div>

> [@kapple](#):
>
> `Images`

I think you need `using FileIO` too, [Getting started · JuliaImages](https://juliaimages.org/stable/install/#Loading-your-first-image-1)

---

<div class="post-metadata">

**Author:** ![kapple](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kapple/32/218915_2.png) [@kapple](https://discourse.julialang.org/u/kapple)\
**Post date:** [September 8, 2020, 12:44pm UTC](https://discourse.julialang.org/t/no-method-matching-save-error-upon-calling-load-for-a-png-file-using-images/46257/3 "2020-09-08T12:44:31Z")

</div>

Thanks @jling!

To run that example in the documentation I also had to add the `ImageMagick` package. But after installing it, my own image worked too.
