Hello colleague,
i tend to agree, there is something wrong with Images.jl. I get
lobi@orange4:~/juliarepo$ ../julia04/julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.0-dev+6526 (2015-08-07 14:14 UTC)
_/ |\__'_|_|_|\__'_| | Commit dcc448b* (7 days old master)
|__/ | x86_64-linux-gnu
with
Pkg.status()
WARNING: unknown Clang commit c4d18994, metadata may be ahead of package
cache
13 required packages:
- BinDeps 0.3.14
- Clang 0.0.5+ 9b668ecf
- Dates 0.4.4
- Gadfly 0.3.13
- GraphViz 0.0.4 master
- Graphs 0.5.5
- Gtk 0.8.2+ new_canvas
- Images 0.4.43
- PyCall 0.8.2
- PyPlot 1.5.3
- Tk 0.3.4+ f283145f
- Vega 0.3.3
- Winston 0.11.11
i get a different error, but still...
julia> imwrite(img,"image.pbm")
ERROR: MethodError: `imwrite` has no method matching imwrite(::Images.
ImageCmap{Color.RGB{T<:Union{FixedPointNumbers.FixedPoint,AbstractFloat}},2,
Array{UInt8,2}}, ::IOStream, ::Type{Images.PBMBinary})
Closest candidates are:
imwrite{T<:Images.ImageFileType}(::Any, ::AbstractString, ::Type{T<:Images
.ImageFileType})
imwrite{T<:Color.ColorValue{T}}(::AbstractArray{T<:Color.ColorValue{T},N},
::IO, ::Type{Images.PPMBinary})
imwrite{T<:Color.ColorValue{T}}(::AbstractArray{T<:Color.ColorValue{T},N},
::IO, ::Type{Images.PPMBinary}, ::Any)
...
in anonymous at /home/lobi/.julia/v0.4/Images/src/io.jl:197
in open at iostream.jl:114
in imwrite at /home/lobi/.julia/v0.4/Images/src/io.jl:196
in imwrite at /home/lobi/.julia/v0.4/Images/src/io.jl:186