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

The following code

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

produces the following error

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

What should I do?

I think you need using FileIO too, Getting started · JuliaImages

2 Likes

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.