You are at least missing some references to what package you are using. I would assume that you are using Images<https://github.com/timholy/Images.jl>, and from the source of imread<https://github.com/timholy/Images.jl/blob/master/src/io.jl#L103-107>, it seems like the file you are trying to open is not in a supported format, and you do not have ImageMagick. From the Images documentatio<https://github.com/timholy/Images.jl/blob/master/doc/extendingIO.md>n it looks like ImageMagick is required for PNG and JPEG files.
Regards Ivar kl. 11:36:10 UTC+1 fredag 14. mars 2014 skrev Siddha Ganju følgende: > > I am trying to read an image and get the following error: > > julia> img = imread("rose.png") > > ErrorException("Do not know how to read file rose.png") > > > julia> img = imread("rose.jpg") > > ErrorException("Do not know how to read file rose.jpg") > > > Its the same for all file extensions. I have tried updating by Pkg.update(). > Still get the same result. Also Pkg.status() does not show anything weird. I > have gone over the threads but could not find any related answer. Any idea > what am I missing here? > >